[tests] Do not fix the drive letter to 'C', it fails on other people's boxes
Dimitrie O. Paun
dpaun at rogers.com
Tue Jun 1 17:43:51 CDT 2004
Now that we have all the wonderful test data in
http://test.winehq.org/data/, we should cleanup
the tests a bit.
ChangeLog
Do not fix the drive letter to 'C', it fails on other people's boxes.
Index: dlls/kernel/tests/path.c
===================================================================
RCS file: /var/cvs/wine/dlls/kernel/tests/path.c,v
retrieving revision 1.25
diff -u -r1.25 path.c
--- dlls/kernel/tests/path.c 14 May 2004 04:55:28 -0000 1.25
+++ dlls/kernel/tests/path.c 1 Jun 2004 22:40:49 -0000
@@ -731,7 +731,7 @@
ok(GetFullPathNameA(tmpstr,MAX_PATH,tmpstr1,&strptr),"GetFullPathNameA failed\n");
todo_wine {
if( curDrive != NOT_A_VALID_DRIVE) {
- sprintf(tmpstr,"C:\\%s\\%s",SHORTDIR,SHORTFILE);
+ sprintf(tmpstr,"%c:\\%s\\%s",*tmpstr1,SHORTDIR,SHORTFILE);
ok(lstrcmpiA(tmpstr,tmpstr1)==0,
"GetFullPathNameA returned '%s' instead of '%s'\n",tmpstr1,tmpstr);
}
More information about the wine-patches
mailing list