dlls/kernel/tests/path.c - Broken test

Jakob Eriksson jakov at vmlinux.org
Wed Mar 16 03:38:19 CST 2005


http://test.winehq.org/data/200503151000/nt4_PaulVriensNT4Srv/kernel32:path.txt


But it can!

/Jakob

-------------- next part --------------
Index: dlls/kernel/tests/path.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/path.c,v
retrieving revision 1.27
diff -u -r1.27 path.c
--- dlls/kernel/tests/path.c	10 Feb 2005 19:19:36 -0000	1.27
+++ dlls/kernel/tests/path.c	16 Mar 2005 09:36:59 -0000
@@ -393,8 +393,6 @@
 */
   len=GetCurrentDirectoryA(MAX_PATH,origdir);
   ok(len!=0 && len < MAX_PATH,"GetCurrentDirectoryA failed\n");
-  ok(lstrcmpiA(origdir+(len-1),"\\")!=0,
-     "GetCurrentDirectoryA should not have a trailing \\\n");
 /* Make sure that CetCurrentDirectoryA doesn't overwrite the buffer when the
    buffer size is too small to hold the current directory
 */


More information about the wine-patches mailing list