wldap32/tests: Fix skipping if server is unavailable.

This commit is contained in:
André Hentschel 2010-11-29 17:52:47 +01:00 committed by Alexandre Julliard
parent c4c03180b0
commit 08400e9dd7

View file

@ -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;