Nikolay Sivov : mpr/tests: Remove NT4 version check.

Alexandre Julliard julliard at winehq.org
Wed Jun 7 16:24:08 CDT 2017


Module: wine
Branch: master
Commit: 7569f6c62e46bd58f084974ac2068a56e19bac58
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=7569f6c62e46bd58f084974ac2068a56e19bac58

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Wed Jun  7 00:27:12 2017 +0300

mpr/tests: Remove NT4 version check.

Signed-off-by: Nikolay Sivov <nsivov at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 085ecda..364ac2c 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,




More information about the wine-cvs mailing list