Dmitry Timoshkov : adsldp/tests: Add one more skip() to catch ERROR_DS_SERVER_DOWN.
Alexandre Julliard
julliard at winehq.org
Mon Apr 13 15:05:56 CDT 2020
Module: wine
Branch: master
Commit: 6bcdf9587b75082954229a8cf889dfadd7d596a9
URL: https://source.winehq.org/git/wine.git/?a=commit;h=6bcdf9587b75082954229a8cf889dfadd7d596a9
Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date: Mon Apr 13 18:25:11 2020 +0800
adsldp/tests: Add one more skip() to catch ERROR_DS_SERVER_DOWN.
Signed-off-by: Dmitry Timoshkov <dmitry at baikal.ru>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
dlls/adsldp/tests/ldap.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/dlls/adsldp/tests/ldap.c b/dlls/adsldp/tests/ldap.c
index c43d2989e6..01a3aec90e 100644
--- a/dlls/adsldp/tests/ldap.c
+++ b/dlls/adsldp/tests/ldap.c
@@ -350,6 +350,11 @@ static void test_DirectorySearch(void)
ok(hr == E_NOINTERFACE, "got %#x\n", hr);
hr = ADsGetObject(L"LDAP://ldap.forumsys.com/rootDSE", &IID_IDirectorySearch, (void **)&ds);
+ if (hr == HRESULT_FROM_WIN32(ERROR_DS_SERVER_DOWN))
+ {
+ skip("server is down\n");
+ return;
+ }
ok(hr == E_NOINTERFACE, "got %#x\n", hr);
hr = ADsGetObject(L"LDAP://ldap.forumsys.com", &IID_IDirectorySearch, (void **)&ds);
More information about the wine-cvs
mailing list