Alexandre Julliard : ntdll/tests: Add a couple of status values seen on Win2K3.
Alexandre Julliard
julliard at winehq.org
Fri Jan 30 07:58:11 CST 2009
Module: wine
Branch: master
Commit: e887b3947271e04a02728bfd38a3da11b734cd07
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e887b3947271e04a02728bfd38a3da11b734cd07
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Jan 29 22:08:54 2009 +0100
ntdll/tests: Add a couple of status values seen on Win2K3.
---
dlls/ntdll/tests/reg.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/dlls/ntdll/tests/reg.c b/dlls/ntdll/tests/reg.c
index 0e25c06..25d2145 100644
--- a/dlls/ntdll/tests/reg.c
+++ b/dlls/ntdll/tests/reg.c
@@ -373,7 +373,8 @@ static void test_NtCreateKey(void)
/* All NULL */
status = pNtCreateKey(NULL, 0, NULL, 0, 0, 0, 0);
- ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
+ ok(status == STATUS_ACCESS_VIOLATION || status == STATUS_INVALID_PARAMETER,
+ "Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER, got: 0x%08x\n", status);
/* Only the key */
status = pNtCreateKey(&key, 0, NULL, 0, 0, 0, 0);
@@ -382,7 +383,8 @@ static void test_NtCreateKey(void)
/* Only accessmask */
status = pNtCreateKey(NULL, am, NULL, 0, 0, 0, 0);
- ok(status == STATUS_ACCESS_VIOLATION, "Expected STATUS_ACCESS_VIOLATION, got: 0x%08x\n", status);
+ ok(status == STATUS_ACCESS_VIOLATION || status == STATUS_INVALID_PARAMETER,
+ "Expected STATUS_ACCESS_VIOLATION or STATUS_INVALID_PARAMETER, got: 0x%08x\n", status);
/* Key and accessmask */
status = pNtCreateKey(&key, am, NULL, 0, 0, 0, 0);
More information about the wine-cvs
mailing list