Commit cb6a6bb6 authored by Daniel Lehman's avatar Daniel Lehman Committed by Alexandre Julliard

ntdll/tests: Clean up temp file.

parent 5e34d175
...@@ -1500,9 +1500,9 @@ static void test_query_object(void) ...@@ -1500,9 +1500,9 @@ static void test_query_object(void)
GetTempFileNameA(tmp_path, "foo", 0, file1); GetTempFileNameA(tmp_path, "foo", 0, file1);
handle = CreateFileA(file1, GENERIC_WRITE | DELETE, 0, NULL, CREATE_ALWAYS, 0, 0); handle = CreateFileA(file1, GENERIC_WRITE | DELETE, 0, NULL, CREATE_ALWAYS, 0, 0);
test_object_type(handle, L"File"); test_object_type(handle, L"File");
DeleteFileA( file1 );
test_file_info( handle ); test_file_info( handle );
pNtClose( handle ); pNtClose( handle );
DeleteFileA( file1 );
status = pNtCreateIoCompletion( &handle, IO_COMPLETION_ALL_ACCESS, NULL, 0 ); status = pNtCreateIoCompletion( &handle, IO_COMPLETION_ALL_ACCESS, NULL, 0 );
ok( status == STATUS_SUCCESS, "NtCreateIoCompletion failed %x\n", status); ok( status == STATUS_SUCCESS, "NtCreateIoCompletion failed %x\n", status);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment