mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-19 13:30:13 +00:00
shell32/tests: Fix a test failure on Win95 and NT4.
This commit is contained in:
parent
05c50725db
commit
0a42190c8e
|
@ -609,7 +609,8 @@ static void test_CallForAttributes(void)
|
||||||
|
|
||||||
hr = IShellFolder_ParseDisplayName(psfDesktop, NULL, NULL, wszMyDocuments, NULL,
|
hr = IShellFolder_ParseDisplayName(psfDesktop, NULL, NULL, wszMyDocuments, NULL,
|
||||||
&pidlMyDocuments, 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);
|
"Desktop's ParseDisplayName failed to parse MyDocuments's CLSID! hr = %08x\n", hr);
|
||||||
if (FAILED(hr)) {
|
if (FAILED(hr)) {
|
||||||
IShellFolder_Release(psfDesktop);
|
IShellFolder_Release(psfDesktop);
|
||||||
|
|
Loading…
Reference in a new issue