Module: wine Branch: master Commit: 08400e9dd79e965d1339c16f58286cf205421bb8 URL: http://source.winehq.org/git/wine.git/?a=commit;h=08400e9dd79e965d1339c16f58...
Author: André Hentschel nerv@dawncrow.de Date: Mon Nov 29 17:52:47 2010 +0100
wldap32/tests: Fix skipping if server is unavailable.
---
dlls/wldap32/tests/parse.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/wldap32/tests/parse.c b/dlls/wldap32/tests/parse.c index 61bc9ca..98e6b80 100644 --- a/dlls/wldap32/tests/parse.c +++ b/dlls/wldap32/tests/parse.c @@ -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;