Fixed GetModuleBaseNameA tests for WinXP.

This commit is contained in:
Stefan Leichter 2004-10-22 22:04:56 +00:00 committed by Alexandre Julliard
parent 56fc9bfade
commit 80c1addb1c
1 changed files with 2 additions and 2 deletions

View File

@ -107,8 +107,8 @@ static void test_module_base_name(void)
ok(ERROR_SUCCESS == GetLastError(), ok(ERROR_SUCCESS == GetLastError(),
"last error wrong, got %ld expected ERROR_SUCCESS\n", "last error wrong, got %ld expected ERROR_SUCCESS\n",
GetLastError()); GetLastError());
ok(1 == strlen(buffer), ok((!strlen(buffer)) || (1 == strlen(buffer)),
"buffer content length wrong, got %d(%s) expected 1\n", "buffer content length wrong, got %d(%s) expected 0 (XP)/1\n",
strlen(buffer), buffer); strlen(buffer), buffer);
SetLastError(ERROR_SUCCESS); SetLastError(ERROR_SUCCESS);