[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    Hans Leidekker : advapi32/tests: Mark a test result on Windows 2000 as broken.
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2014-01-30 19:25:27
Message-ID: E1W8xEt-0001MY-9u () wine ! codeweavers ! com
[Download RAW message or body]

Module: wine
Branch: master
Commit: e0c5dfdf5d7f4337d0b68a9985b82a27caacc7a0
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e0c5dfdf5d7f4337d0b68a9985b82a27caacc7a0

Author: Hans Leidekker <hans@codeweavers.com>
Date:   Thu Jan 30 13:06:09 2014 +0100

advapi32/tests: Mark a test result on Windows 2000 as broken.

---

 dlls/advapi32/tests/service.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dlls/advapi32/tests/service.c b/dlls/advapi32/tests/service.c
index 74cb9a8..9b6c1cf 100644
--- a/dlls/advapi32/tests/service.c
+++ b/dlls/advapi32/tests/service.c
@@ -108,7 +108,8 @@ static void test_open_scm(void)
     /* Again a correct one */
     SetLastError(0xdeadbeef);
     scm_handle = OpenSCManagerA(NULL, NULL, SC_MANAGER_CONNECT);
-    ok(GetLastError() == ERROR_SUCCESS, "Expected ERROR_SUCCESS, got %u\n", GetLastError());
+    ok(GetLastError() == ERROR_SUCCESS || broken(GetLastError() == ERROR_IO_PENDING) /* win2k */,
+       "Expected ERROR_SUCCESS, got %u\n", GetLastError());
     ok(scm_handle != NULL, "Expected success, got error %u\n", GetLastError());
     CloseServiceHandle(scm_handle);
 }



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic