mirror of
https://github.com/reactos/wine.git
synced 2025-02-01 17:53:25 +00:00
setupapi/tests: Fix a failure on win98.
This commit is contained in:
parent
2188248598
commit
51763a10e4
@ -203,8 +203,9 @@ static void test_SetupCopyOEMInf(void)
|
||||
SetLastError(0xdeadbeef);
|
||||
res = pSetupCopyOEMInfA(tmpfile, NULL, 0, SP_COPY_NOOVERWRITE, NULL, 0, NULL, NULL);
|
||||
ok(res == FALSE, "Expected FALSE, got %d\n", res);
|
||||
ok(GetLastError() == ERROR_FILE_NOT_FOUND,
|
||||
"Expected ERROR_FILE_NOT_FOUND, got %d\n", GetLastError());
|
||||
ok(GetLastError() == ERROR_FILE_NOT_FOUND ||
|
||||
GetLastError() == ERROR_FILE_EXISTS, /* Win98 */
|
||||
"Expected ERROR_FILE_NOT_FOUND or ERROR_FILE_EXISTS, got %d\n", GetLastError());
|
||||
ok(file_exists(tmpfile), "Expected tmpfile to exist\n");
|
||||
|
||||
/* try SP_COPY_REPLACEONLY, dest does not exist */
|
||||
|
Loading…
x
Reference in New Issue
Block a user