Commit d4b7888d authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32/tests: Delete some temporary files.

parent 6dc90620
......@@ -3013,6 +3013,7 @@ static void test_ReplaceFileA(void)
ok(!ret && (GetLastError() == ERROR_FILE_NOT_FOUND ||
GetLastError() == ERROR_ACCESS_DENIED),
"ReplaceFileA: unexpected error %d\n", GetLastError());
DeleteFileA( replacement );
/*
* if the first round (w/ backup) worked then as long as there is no
......@@ -3107,6 +3108,7 @@ static void test_ReplaceFileW(void)
ok(!ret && (GetLastError() == ERROR_FILE_NOT_FOUND ||
GetLastError() == ERROR_ACCESS_DENIED),
"ReplaceFileW: unexpected error %d\n", GetLastError());
DeleteFileW( replacement );
if (removeBackup)
{
......
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