wldap32/tests: Fix skipping if server is unavailable
André Hentschel
nerv at dawncrow.de
Mon Nov 29 10:52:47 CST 2010
---
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;
--
Best Regards, André Hentschel
More information about the wine-patches
mailing list