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

This commit is contained in:
Paul Vriens 2009-04-23 16:21:46 +02:00 committed by Alexandre Julliard
parent 05c50725db
commit 0a42190c8e

View file

@ -609,7 +609,8 @@ static void test_CallForAttributes(void)
hr = IShellFolder_ParseDisplayName(psfDesktop, NULL, NULL, wszMyDocuments, NULL,
&pidlMyDocuments, NULL);
ok (SUCCEEDED(hr),
ok (SUCCEEDED(hr) ||
broken(hr == E_INVALIDARG), /* Win95, NT4 */
"Desktop's ParseDisplayName failed to parse MyDocuments's CLSID! hr = %08x\n", hr);
if (FAILED(hr)) {
IShellFolder_Release(psfDesktop);