[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-cvs
Subject:    =?UTF-8?Q?Andr=C3=A9=20Hentschel=20?=: wldap32/tests: Fix skipping if
From:       Alexandre Julliard <julliard () winehq ! org>
Date:       2010-11-29 19:38:44
Message-ID: E1PN9Yi-00077E-EI () wine ! codeweavers ! com
[Download RAW message or body]

Module: wine
Branch: master
Commit: 08400e9dd79e965d1339c16f58286cf205421bb8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=08400e9dd79e965d1339c16f58286cf205421bb8


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;


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic