shell32/tests: Make sure all created files can be removed.

This commit is contained in:
Paul Vriens 2009-06-05 13:17:40 +02:00 committed by Alexandre Julliard
parent e348c842da
commit 989649c62e

View file

@ -1602,6 +1602,8 @@ static void cleanup_test(void)
while (*testfile)
{
sprintf(filename, *testfile, tmpdir);
/* Make sure we can delete the files ('test file.noassoc' is read-only now) */
SetFileAttributes(filename, FILE_ATTRIBUTE_NORMAL);
DeleteFile(filename);
testfile++;
}