mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-31 11:43:31 +00:00
kernel32/tests: Fix some test failures on Win9x/WinME.
This commit is contained in:
parent
756eea7bdd
commit
37babfcece
1 changed files with 2 additions and 0 deletions
|
@ -943,6 +943,7 @@ static void test_CommandLine(void)
|
|||
ret = CreateProcessA(buffer, NULL, NULL, NULL, FALSE, 0L, NULL, NULL, &startup, &info);
|
||||
ok(!ret, "CreateProcessA unexpectedly succeeded\n");
|
||||
ok(GetLastError() == ERROR_PATH_NOT_FOUND ||
|
||||
broken(GetLastError() == ERROR_FILE_NOT_FOUND) /* Win9x/WinME */ ||
|
||||
broken(GetLastError() == ERROR_ACCESS_DENIED) /* Win98 */,
|
||||
"Expected ERROR_PATH_NOT_FOUND, got %d\n", GetLastError());
|
||||
|
||||
|
@ -953,6 +954,7 @@ static void test_CommandLine(void)
|
|||
ret = CreateProcessA(buffer, buffer2, NULL, NULL, FALSE, 0L, NULL, NULL, &startup, &info);
|
||||
ok(!ret, "CreateProcessA unexpectedly succeeded\n");
|
||||
ok(GetLastError() == ERROR_PATH_NOT_FOUND ||
|
||||
broken(GetLastError() == ERROR_FILE_NOT_FOUND) /* Win9x/WinME */ ||
|
||||
broken(GetLastError() == ERROR_ACCESS_DENIED) /* Win98 */,
|
||||
"Expected ERROR_PATH_NOT_FOUND, got %d\n", GetLastError());
|
||||
|
||||
|
|
Loading…
Reference in a new issue