setupapi/tests: Fix some test failures on win9x.

This commit is contained in:
Paul Vriens 2009-01-14 14:26:38 +01:00 committed by Alexandre Julliard
parent 3fe5d80512
commit b8cde623dd
1 changed files with 1 additions and 2 deletions

View File

@ -458,8 +458,7 @@ static void test_SetupGetTargetPath(void)
ret = SetupGetTargetPathA(hinf, NULL, "CopyAlways.System32.Files", buffer, sizeof(buffer), &required);
ok(ret, "SetupGetTargetPathA failed\n");
lstrcpyA(destfile, WIN_DIR);
lstrcatA(destfile, "\\system32");
GetSystemDirectoryA(destfile, MAX_PATH);
ok(required == lstrlenA(destfile) + 1, "unexpected required size: %d\n", required);
ok(!lstrcmpiA(buffer, destfile), "unexpected path: %s\n", buffer);