[KERNEL32_APITEST] Fix a test that fails on Server 2003 and Windows 10
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 8 Sep 2019 09:34:00 +0000 (11:34 +0200)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sun, 15 Sep 2019 12:14:06 +0000 (14:14 +0200)
modules/rostests/apitests/kernel32/GetVolumeInformation.c

index 8bf96d6..4ebf4e5 100644 (file)
@@ -113,8 +113,8 @@ TestGetVolumeInformationW(VOID)
             break;
         }
     }
-    ok(i != MAX_PATH, "String was not null terminated!\n");
-    ok(i >= Len, "Buffer has not been overruned\n");
+    ok(i == MAX_PATH, "String was null terminated!\n");
+    ok(i >= Len, "Buffer has not been overrun\n");
 }
 
 START_TEST(GetVolumeInformation)