Paul Vriens : ntdll/tests: Fix a test failure on W2K.

Alexandre Julliard julliard at winehq.org
Tue Dec 2 11:01:58 CST 2008


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

Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date:   Mon Dec  1 17:34:48 2008 +0100

ntdll/tests: Fix a test failure on W2K.

---

 dlls/ntdll/tests/rtl.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/dlls/ntdll/tests/rtl.c b/dlls/ntdll/tests/rtl.c
index fffe9ac..bcf63b4 100644
--- a/dlls/ntdll/tests/rtl.c
+++ b/dlls/ntdll/tests/rtl.c
@@ -936,7 +936,9 @@ static void test_RtlDeleteTimer(void)
 {
     NTSTATUS ret;
     ret = pRtlDeleteTimer(NULL, NULL, NULL);
-    ok(ret == STATUS_INVALID_PARAMETER_1, "expected STATUS_INVALID_PARAMETER_1, got %x\n", ret);
+    ok(ret == STATUS_INVALID_PARAMETER_1 ||
+       ret == STATUS_INVALID_PARAMETER, /* W2K */
+       "expected STATUS_INVALID_PARAMETER_1 or STATUS_INVALID_PARAMETER, got %x\n", ret);
 }
 
 START_TEST(rtl)




More information about the wine-cvs mailing list