Paul Vriens : shell32/tests: Make sure all created files can be removed.
Alexandre Julliard
julliard at winehq.org
Fri Jun 5 08:56:59 CDT 2009
Module: wine
Branch: master
Commit: 989649c62ea9fddbd45b6c50a1ed71b8267a8a03
URL: http://source.winehq.org/git/wine.git/?a=commit;h=989649c62ea9fddbd45b6c50a1ed71b8267a8a03
Author: Paul Vriens <Paul.Vriens.Wine at gmail.com>
Date: Fri Jun 5 13:17:40 2009 +0200
shell32/tests: Make sure all created files can be removed.
---
dlls/shell32/tests/shlexec.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/shell32/tests/shlexec.c b/dlls/shell32/tests/shlexec.c
index 469e79f..6edc926 100644
--- a/dlls/shell32/tests/shlexec.c
+++ b/dlls/shell32/tests/shlexec.c
@@ -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++;
}
More information about the wine-cvs
mailing list