kernel32/tests: Delete some temporary files.

This commit is contained in:
Alexandre Julliard 2011-05-26 13:28:55 +02:00
parent 6dc9062086
commit d4b7888dbf
1 changed files with 2 additions and 0 deletions

View File

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