mirror of
https://github.com/reactos/wine.git
synced 2024-12-02 00:36:43 +00:00
shell32/tests: Make sure all created files can be removed.
This commit is contained in:
parent
e348c842da
commit
989649c62e
@ -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++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user