GetModuleBaseNameA tests

Stefan Leichter Stefan.Leichter at camLine.com
Fri Oct 22 05:12:53 CDT 2004


ChangeLog
------------
    fixed GetModuleBaseNameA tests for WinXP
-------------- next part --------------
--- ../wine/dlls/psapi/tests/module.c	2004-07-13 17:33:14.000000000 +0200
+++ dlls/psapi/tests/module.c	2004-10-21 22:43:56.000000000 +0200
@@ -107,8 +107,8 @@
     ok(ERROR_SUCCESS == GetLastError(),
 	"last error wrong, got %ld expected ERROR_SUCCESS\n",
 	GetLastError());
-    ok(1 == strlen(buffer),
-	"buffer content length wrong, got %d(%s) expected 1\n",
+    ok((!strlen(buffer)) || (1 == strlen(buffer)), 
+	"buffer content length wrong, got %d(%s) expected 0 (XP)/1\n",
 	strlen(buffer), buffer);
 
     SetLastError(ERROR_SUCCESS);


More information about the wine-patches mailing list