Commit 4fe5683c authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

setupapi/tests: Fix a test on NT4.

parent 0b773df8
...@@ -602,7 +602,8 @@ static void testGetDeviceInstanceId(void) ...@@ -602,7 +602,8 @@ static void testGetDeviceInstanceId(void)
ret = pSetupDiGetDeviceInstanceIdA(set, &devInfo, instanceID, ret = pSetupDiGetDeviceInstanceIdA(set, &devInfo, instanceID,
sizeof(instanceID), NULL); sizeof(instanceID), NULL);
ok(ret, "SetupDiGetDeviceInstanceIdA failed: %08x\n", GetLastError()); ok(ret, "SetupDiGetDeviceInstanceIdA failed: %08x\n", GetLastError());
ok(!lstrcmpA(instanceID, "ROOT\\LEGACY_BOGUS\\0001"), /* NT4 returns 'Root' and W2K and above 'ROOT' */
ok(!lstrcmpiA(instanceID, "ROOT\\LEGACY_BOGUS\\0001"),
"Unexpected instance ID %s\n", instanceID); "Unexpected instance ID %s\n", instanceID);
pSetupDiDestroyDeviceInfoList(set); pSetupDiDestroyDeviceInfoList(set);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment