From bd5b865f005ab28b149e3a0e2a6833fc90016fd1 Mon Sep 17 00:00:00 2001 From: Qian Hong Date: Thu, 17 Oct 2013 03:11:53 +0800 Subject: [PATCH] user32/tests: Skip desktop tests on NT4. --- dlls/user32/tests/winstation.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/dlls/user32/tests/winstation.c b/dlls/user32/tests/winstation.c index 0bc9966bd8d..5fa6fb1745b 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); -- 2.11.4.GIT