kernel32/tests: Skip more tests on old Windows.

Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Jacek Caban 2020-09-08 19:35:31 +02:00 committed by Alexandre Julliard
parent ed64fd72a7
commit e151e4c8a1

View file

@ -3652,6 +3652,8 @@ static void test_FreeConsole(void)
ret = SetConsoleOutputCP(GetOEMCP());
ok(!ret && GetLastError() == ERROR_INVALID_HANDLE, "SetConsoleCP returned %x(%u)\n", ret, GetLastError());
if (skip_nt) return;
SetLastError(0xdeadbeef);
memset( title, 0xc0, sizeof(title) );
size = GetConsoleTitleW( title, ARRAY_SIZE(title) );
@ -3659,8 +3661,6 @@ static void test_FreeConsole(void)
ok(title[0] == 0xc0c0, "title byffer changed\n");
ok(GetLastError() == ERROR_INVALID_HANDLE, "last error %u\n", GetLastError());
if (skip_nt) return;
SetLastError(0xdeadbeef);
ret = SetConsoleTitleW( L"test" );
ok(!ret && GetLastError() == ERROR_INVALID_HANDLE, "SetConsoleTitleW returned %x(%u)\n", ret, GetLastError());