Huw Davies : kernel32/tests: VerifyConsoleIoHandle() always returns FALSE on Windows 8 and 10.
Alexandre Julliard
julliard at winehq.org
Tue Nov 22 16:34:01 CST 2016
Module: wine
Branch: master
Commit: 5dd0c7fa7b3b5e4307fab31e1140c8502ea1ec1f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=5dd0c7fa7b3b5e4307fab31e1140c8502ea1ec1f
Author: Huw Davies <huw at codeweavers.com>
Date: Tue Nov 22 12:00:10 2016 +0000
kernel32/tests: VerifyConsoleIoHandle() always returns FALSE on Windows 8 and 10.
Signed-off-by: Huw Davies <huw at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/kernel32/tests/console.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/dlls/kernel32/tests/console.c b/dlls/kernel32/tests/console.c
index 79e1772..a14bc45 100644
--- a/dlls/kernel32/tests/console.c
+++ b/dlls/kernel32/tests/console.c
@@ -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);
}
More information about the wine-cvs
mailing list