setupapi/tests: Fix some test failures on win9x.
This commit is contained in:
parent
3fe5d80512
commit
b8cde623dd
|
@ -458,8 +458,7 @@ static void test_SetupGetTargetPath(void)
|
||||||
ret = SetupGetTargetPathA(hinf, NULL, "CopyAlways.System32.Files", buffer, sizeof(buffer), &required);
|
ret = SetupGetTargetPathA(hinf, NULL, "CopyAlways.System32.Files", buffer, sizeof(buffer), &required);
|
||||||
ok(ret, "SetupGetTargetPathA failed\n");
|
ok(ret, "SetupGetTargetPathA failed\n");
|
||||||
|
|
||||||
lstrcpyA(destfile, WIN_DIR);
|
GetSystemDirectoryA(destfile, MAX_PATH);
|
||||||
lstrcatA(destfile, "\\system32");
|
|
||||||
|
|
||||||
ok(required == lstrlenA(destfile) + 1, "unexpected required size: %d\n", required);
|
ok(required == lstrlenA(destfile) + 1, "unexpected required size: %d\n", required);
|
||||||
ok(!lstrcmpiA(buffer, destfile), "unexpected path: %s\n", buffer);
|
ok(!lstrcmpiA(buffer, destfile), "unexpected path: %s\n", buffer);
|
||||||
|
|
Loading…
Reference in New Issue