Something odd is going in kernel path test on NT4

Jakob Eriksson jakov at vmlinux.org
Fri Apr 15 16:44:45 CDT 2005


http://test.winehq.org/data/200504141000/nt4_IDWASEMPTY/kernel32:path.txt

why is TMP broken?
-------------- next part --------------
Index: path.c
===================================================================
RCS file: /home/wine/wine/dlls/kernel/tests/path.c,v
retrieving revision 1.28
diff -u -r1.28 path.c
--- path.c	16 Mar 2005 19:49:57 -0000	1.28
+++ path.c	15 Apr 2005 21:43:50 -0000
@@ -860,8 +860,10 @@
     char save_TMP[MAX_PATH];
     char windir[MAX_PATH];
     char buf[MAX_PATH];
+    int ret;
 
-    GetEnvironmentVariableA("TMP", save_TMP, sizeof(save_TMP));
+    ret = GetEnvironmentVariableA("TMP", save_TMP, sizeof(save_TMP));
+    ok (ret, "GetEnvironmentVariableA() returned %d, GetLastError()=%d\n", ret, GetLastError());
 
     /* test default configuration */
     trace("TMP=%s\n", save_TMP);


More information about the wine-patches mailing list