Commit b8cde623 authored by Paul Vriens's avatar Paul Vriens Committed by Alexandre Julliard

setupapi/tests: Fix some test failures on win9x.

parent 3fe5d805
...@@ -458,8 +458,7 @@ static void test_SetupGetTargetPath(void) ...@@ -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);
......
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