shell32/tests: Fix a test failure on Win95/NT4.

This commit is contained in:
Paul Vriens 2009-09-10 10:12:35 +02:00 committed by Alexandre Julliard
parent 15a5e46a75
commit e5e065ebbb
1 changed files with 3 additions and 1 deletions

View File

@ -165,7 +165,9 @@ static void test_get_set(void)
{
IShellLinkW_Release(slW);
r = IShellLinkA_SetPath(sl, NULL);
ok(r==E_INVALIDARG, "SetPath failed (0x%08x)\n", r);
ok(r==E_INVALIDARG ||
broken(r==S_OK), /* Some Win95 and NT4 */
"SetPath failed (0x%08x)\n", r);
}
r = IShellLinkA_SetPath(sl, "");