[PATCH] mpr/tests: Remove NT4 version check

Nikolay Sivov nsivov at codeweavers.com
Tue Jun 6 16:27:12 CDT 2017


Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
---
 dlls/mpr/tests/mpr.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/dlls/mpr/tests/mpr.c b/dlls/mpr/tests/mpr.c
index 085ecda94b..364ac2cc60 100644
--- a/dlls/mpr/tests/mpr.c
+++ b/dlls/mpr/tests/mpr.c
@@ -127,13 +127,13 @@ static void test_WNetGetRemoteName(void)
         ret = WNetGetUniversalNameA(driveA, REMOTE_NAME_INFO_LEVEL,
                 NULL, &info_size);
 
-        todo_wine{
-        if(((GetVersion() & 0x8000ffff) == 0x00000004) || /* NT40 */
-           (drive_type == DRIVE_REMOTE))
+        todo_wine {
+        if(drive_type == DRIVE_REMOTE)
             ok(ret == WN_BAD_POINTER, "WNetGetUniversalNameA failed: %08x\n", ret);
         else
             ok(ret == WN_NOT_CONNECTED || ret == WN_BAD_VALUE,
-                "(%s) WNetGetUniversalNameA gave wrong error: %u\n", driveA, ret);        }
+                "(%s) WNetGetUniversalNameA gave wrong error: %u\n", driveA, ret);
+        }
 
         fail_size = sizeof(driveA) / sizeof(char) - 1;
         ret = WNetGetUniversalNameA(driveA, REMOTE_NAME_INFO_LEVEL,
-- 
2.11.0




More information about the wine-patches mailing list