kernel32: Fix two failing tests in win95.
This commit is contained in:
parent
39732cf927
commit
806edcc496
|
@ -1180,13 +1180,15 @@ static void test_Console(void)
|
||||||
/* Try to set invalid CP */
|
/* Try to set invalid CP */
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ok(!SetConsoleCP(0), "Shouldn't succeed\n");
|
ok(!SetConsoleCP(0), "Shouldn't succeed\n");
|
||||||
ok(GetLastError()==ERROR_INVALID_PARAMETER,
|
ok(GetLastError()==ERROR_INVALID_PARAMETER ||
|
||||||
|
broken(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED), /* win95 */
|
||||||
"GetLastError: expecting %u got %u\n",
|
"GetLastError: expecting %u got %u\n",
|
||||||
ERROR_INVALID_PARAMETER, GetLastError());
|
ERROR_INVALID_PARAMETER, GetLastError());
|
||||||
|
|
||||||
SetLastError(0xdeadbeef);
|
SetLastError(0xdeadbeef);
|
||||||
ok(!SetConsoleOutputCP(0), "Shouldn't succeed\n");
|
ok(!SetConsoleOutputCP(0), "Shouldn't succeed\n");
|
||||||
ok(GetLastError()==ERROR_INVALID_PARAMETER,
|
ok(GetLastError()==ERROR_INVALID_PARAMETER ||
|
||||||
|
broken(GetLastError() == ERROR_CALL_NOT_IMPLEMENTED), /* win95 */
|
||||||
"GetLastError: expecting %u got %u\n",
|
"GetLastError: expecting %u got %u\n",
|
||||||
ERROR_INVALID_PARAMETER, GetLastError());
|
ERROR_INVALID_PARAMETER, GetLastError());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue