=?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: ntdll/tests: Fix test failure on win8.

Alexandre Julliard julliard at winehq.org
Tue Sep 25 15:13:37 CDT 2012


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Sep 25 00:47:27 2012 +0200

ntdll/tests: Fix test failure on win8.

---

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

diff --git a/dlls/ntdll/tests/om.c b/dlls/ntdll/tests/om.c
index ac37761..1ff0f0c 100644
--- a/dlls/ntdll/tests/om.c
+++ b/dlls/ntdll/tests/om.c
@@ -143,7 +143,8 @@ static void test_namespace_pipe(void)
     status = pNtOpenFile(&h, GENERIC_READ, &attr, &iosb, FILE_SHARE_READ|FILE_SHARE_WRITE, FILE_OPEN);
     ok(status == STATUS_OBJECT_PATH_NOT_FOUND ||
        status == STATUS_PIPE_NOT_AVAILABLE ||
-       status == STATUS_OBJECT_NAME_INVALID, /* vista */
+       status == STATUS_OBJECT_NAME_INVALID || /* vista */
+       status == STATUS_OBJECT_NAME_NOT_FOUND, /* win8 */
         "NtOpenFile should have failed with STATUS_OBJECT_PATH_NOT_FOUND got(%08x)\n", status);
 
     pRtlInitUnicodeString(&str, buffer4);




More information about the wine-cvs mailing list