ntdll/tests: Clean up temp file.

Signed-off-by: Daniel Lehman <dlehman25@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Daniel Lehman 2021-05-23 13:20:39 -07:00 committed by Alexandre Julliard
parent 5e34d17530
commit cb6a6bb6cf
1 changed files with 1 additions and 1 deletions

View File

@ -1500,9 +1500,9 @@ static void test_query_object(void)
GetTempFileNameA(tmp_path, "foo", 0, file1);
handle = CreateFileA(file1, GENERIC_WRITE | DELETE, 0, NULL, CREATE_ALWAYS, 0, 0);
test_object_type(handle, L"File");
DeleteFileA( file1 );
test_file_info( handle );
pNtClose( handle );
DeleteFileA( file1 );
status = pNtCreateIoCompletion( &handle, IO_COMPLETION_ALL_ACCESS, NULL, 0 );
ok( status == STATUS_SUCCESS, "NtCreateIoCompletion failed %x\n", status);