Qian Hong : user32/tests: Skip desktop tests on NT4.
Alexandre Julliard
julliard at winehq.org
Thu Oct 17 13:51:50 CDT 2013
Module: wine
Branch: master
Commit: bd5b865f005ab28b149e3a0e2a6833fc90016fd1
URL: http://source.winehq.org/git/wine.git/?a=commit;h=bd5b865f005ab28b149e3a0e2a6833fc90016fd1
Author: Qian Hong <qhong at codeweavers.com>
Date: Thu Oct 17 03:11:53 2013 +0800
user32/tests: Skip desktop tests on NT4.
---
dlls/user32/tests/winstation.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/tests/winstation.c b/dlls/user32/tests/winstation.c
index 0bc9966..5fa6fb1 100644
--- a/dlls/user32/tests/winstation.c
+++ b/dlls/user32/tests/winstation.c
@@ -542,6 +542,15 @@ todo_wine
SetLastError(0xdeadbeef);
ret = SendInput(1, inputs, sizeof(INPUT));
+ if(broken(GetLastError() == 0xdeadbeef))
+ {
+ SetThreadDesktop(old_thread_desk);
+ CloseDesktop(old_input_desk);
+ CloseDesktop(input_desk);
+ CloseDesktop(new_desk);
+ win_skip("Skip tests on NT4\n");
+ return;
+ }
todo_wine
ok(GetLastError() == ERROR_ACCESS_DENIED, "unexpected last error %08x\n", GetLastError());
ok(ret == 1 || broken(ret == 0) /* Win64 */, "unexpected return count %d\n", ret);
More information about the wine-cvs
mailing list