kernel32/tests: VerifyConsoleIoHandle() always returns FALSE on Windows 8 and 10.

Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Huw Davies 2016-11-22 12:00:10 +00:00 committed by Alexandre Julliard
parent 542ba85ef8
commit 5dd0c7fa7b
1 changed files with 3 additions and 1 deletions

View File

@ -1319,7 +1319,9 @@ static void test_VerifyConsoleIoHandle( HANDLE handle )
SetLastError(0xdeadbeef);
ret = pVerifyConsoleIoHandle(handle);
error = GetLastError();
ok(ret, "expected VerifyConsoleIoHandle to succeed\n");
ok(ret ||
broken(!ret), /* Windows 8 and 10 */
"expected VerifyConsoleIoHandle to succeed\n");
ok(error == 0xdeadbeef, "wrong GetLastError() %d\n", error);
}