mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 17:02:08 +00:00
wldap32/tests: Fix skipping if server is unavailable.
This commit is contained in:
parent
c4c03180b0
commit
08400e9dd7
|
@ -93,7 +93,7 @@ static void test_ldap_search_extW( LDAP *ld )
|
|||
|
||||
timelimit = 20;
|
||||
ret = ldap_search_extW( ld, base, LDAP_SCOPE_SUBTREE, filter, NULL, 0, NULL, NULL, timelimit, 0, &message );
|
||||
if (ret == LDAP_SERVER_DOWN)
|
||||
if (ret == LDAP_SERVER_DOWN || ret == LDAP_UNAVAILABLE)
|
||||
{
|
||||
skip("test server can't be reached\n");
|
||||
return;
|
||||
|
|
Loading…
Reference in a new issue