ntdll/tests: Fix a copy-paste error.

Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zebediah Figura 2020-07-16 20:00:37 -05:00 committed by Alexandre Julliard
parent 2a53947028
commit de1eaee480
1 changed files with 3 additions and 3 deletions

View File

@ -1040,7 +1040,7 @@ static void test_directory(void)
pNtClose(h);
InitializeObjectAttributes(&attr, &str, 0, dir, NULL);
RtlInitUnicodeString(&str, L"one more level");
status = pNtCreateDirectoryObject( &dir, DIRECTORY_QUERY, &attr );
status = pNtCreateDirectoryObject( &h, DIRECTORY_QUERY, &attr );
ok( status == STATUS_SUCCESS, "Failed to create directory %08x\n", status );
pNtClose(h);
pNtClose(dir);
@ -1157,9 +1157,9 @@ static void test_symboliclink(void)
RtlInitUnicodeString( &str, L"\\BaseNamedObjects\\om.c-test\\" );
status = pNtCreateSymbolicLinkObject( &h, SYMBOLIC_LINK_QUERY, &attr, &target );
ok( status == STATUS_OBJECT_NAME_INVALID, "got %#x\n", status );
ok( status == STATUS_OBJECT_PATH_NOT_FOUND, "got %#x\n", status );
status = pNtOpenSymbolicLinkObject( &h, SYMBOLIC_LINK_QUERY, &attr );
ok( status == STATUS_OBJECT_NAME_INVALID, "got %#x\n", status );
ok( status == STATUS_OBJECT_PATH_NOT_FOUND, "got %#x\n", status );
/* Compound test */
dir = get_base_dir();