Fixed GetModuleBaseNameA tests for WinXP.
This commit is contained in:
parent
56fc9bfade
commit
80c1addb1c
|
@ -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);
|
||||||
|
|
Loading…
Reference in New Issue