mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-14 09:41:41 +00:00
adsldp/tests: Avoid test failures when the server is down.
This commit is contained in:
parent
21c4260792
commit
aabdb15458
|
@ -190,6 +190,11 @@ static void test_ParseDisplayName(void)
|
||||||
|
|
||||||
count = 0xdeadbeef;
|
count = 0xdeadbeef;
|
||||||
hr = MkParseDisplayName(bc, test[i].path, &count, &mk);
|
hr = MkParseDisplayName(bc, test[i].path, &count, &mk);
|
||||||
|
if (hr == HRESULT_FROM_WIN32(ERROR_DS_SERVER_DOWN))
|
||||||
|
{
|
||||||
|
skip("server is down\n");
|
||||||
|
break;
|
||||||
|
}
|
||||||
todo_wine_if(i == 0 || i == 1 || i == 11 || i == 12)
|
todo_wine_if(i == 0 || i == 1 || i == 11 || i == 12)
|
||||||
ok(hr == test[i].hr, "%d: got %#lx, expected %#lx\n", i, hr, test[i].hr);
|
ok(hr == test[i].hr, "%d: got %#lx, expected %#lx\n", i, hr, test[i].hr);
|
||||||
if (hr == S_OK)
|
if (hr == S_OK)
|
||||||
|
|
Loading…
Reference in a new issue