Module: wine Branch: master Commit: 165081e53cd1e31eab1719243d05d7e5dd5b6a6d URL: http://source.winehq.org/git/wine.git/?a=commit;h=165081e53cd1e31eab1719243d...
Author: Hans Leidekker hans@codeweavers.com Date: Tue Apr 1 10:44:19 2014 +0200
wldap32/tests: Skip tests if the connection times out.
---
dlls/wldap32/tests/parse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dlls/wldap32/tests/parse.c b/dlls/wldap32/tests/parse.c index 88a7e20..5c84929 100644 --- a/dlls/wldap32/tests/parse.c +++ b/dlls/wldap32/tests/parse.c @@ -48,7 +48,7 @@ static void test_ldap_parse_sort_control( LDAP *ld ) timeout.tv_sec = 20; timeout.tv_usec = 0; ret = ldap_search_ext_sA( ld, (char *)"", LDAP_SCOPE_ONELEVEL, (char *)"(ou=*)", NULL, 0, ctrls, NULL, &timeout, 10, &res ); - if (ret == LDAP_SERVER_DOWN) + if (ret == LDAP_SERVER_DOWN || ret == LDAP_TIMEOUT) { skip("test server can't be reached\n"); ldap_control_freeA( sort );