Module: wine
Branch: refs/heads/master
Commit: ac73b30f9509af4f70c17918451e20c4224abb0c
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=ac73b30f9509af4f70c1791…
Author: Andrew Ziem <ahziem1(a)mailbolt.com>
Date: Mon May 15 08:25:46 2006 -0600
kernel: Properly delete a test file.
---
dlls/kernel/tests/path.c | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/dlls/kernel/tests/path.c b/dlls/kernel/tests/path.c
index d6fceb7..1ff36bd 100644
--- a/dlls/kernel/tests/path.c
+++ b/dlls/kernel/tests/path.c
@@ -337,6 +337,7 @@ static void test_InitPathA(CHAR *newdir,
lstrcmpiA(newdir+lstrlenA(tmppath),tmpstr1)==0,
"GetTempFileNameA returned '%s' which doesn't match '%s' or '%s'. id=%x\n",
newdir,tmpstr,tmpstr1,id);
+ ok(DeleteFileA(newdir),"Couldn't delete the temporary file we just created\n");
ok((id=GetTempFileNameA(tmppath,NULL,0,newdir)),"GetTempFileNameA failed\n");
sprintf(tmpstr,"%.4x.tmp",id & 0xffff);
@@ -345,7 +346,7 @@ static void test_InitPathA(CHAR *newdir,
lstrcmpiA(newdir+lstrlenA(tmppath),tmpstr1)==0,
"GetTempFileNameA returned '%s' which doesn't match '%s' or '%s'. id=%x\n",
newdir,tmpstr,tmpstr1,id);
-
+ ok(DeleteFileA(newdir),"Couldn't delete the temporary file we just created\n");
/* Find first valid drive letter that is neither newdir[0] nor curDrive */
drives = GetLogicalDrives() & ~(1<<(newdir[0]-'A'));
@@ -361,6 +362,7 @@ static void test_InitPathA(CHAR *newdir,
really understand how they work.
More formal tests should be done along with CreateFile tests
*/
+ ok((id=GetTempFileNameA(tmppath,"path",0,newdir)),"GetTempFileNameA failed\n");
ok(CreateDirectoryA(newdir,NULL)==0,
"CreateDirectoryA succeeded even though a file of the same name exists\n");
ok(DeleteFileA(newdir),"Couldn't delete the temporary file we just created\n");
Module: wine
Branch: refs/heads/master
Commit: 97c111d0d00ba2e4779e7f183ae4d8cfef2fb40e
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=97c111d0d00ba2e4779e7f1…
Author: Dmitry Timoshkov <dmitry(a)codeweavers.com>
Date: Tue May 16 19:33:19 2006 +0900
user32: Add more ShowWindow tests.
Move ShowWindow tests for children with an invisible parent into a
separate test, add more ShowWindow tests. The tests show that an
assumption in dlls/x11drv/winpos.c that SetWindowPos should not be
called on a child with an invisible parent is not always true.
---
dlls/user/tests/msg.c | 266 ++++++++++++++++++++++++++++++++++++++++++-------
1 files changed, 230 insertions(+), 36 deletions(-)
Diff: http://source.winehq.org/git/?p=wine.git;a=commitdiff;h=97c111d0d00ba2e4779…