ntdll/tests: Fix test failure on win8.

This commit is contained in:
André Hentschel 2012-09-25 00:47:27 +02:00 committed by Alexandre Julliard
parent 1ff07a7d68
commit 0da26cfc4c
1 changed files with 2 additions and 1 deletions

View File

@ -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);