Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
928d73d4
Commit
928d73d4
authored
Jan 10, 2024
by
Hans Leidekker
Committed by
Alexandre Julliard
Jan 10, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32/tests: Skip tests when the server can't be reached.
Wine-Bug:
https://bugs.winehq.org/show_bug.cgi?id=55784
parent
98b053a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
0 deletions
+12
-0
parse.c
dlls/wldap32/tests/parse.c
+12
-0
No files found.
dlls/wldap32/tests/parse.c
View file @
928d73d4
...
...
@@ -169,6 +169,12 @@ static void test_ldap_bind_sA( void )
}
ret
=
ldap_connect
(
ld
,
NULL
);
if
(
ret
==
LDAP_SERVER_DOWN
)
{
skip
(
"test server can't be reached
\n
"
);
ldap_unbind
(
ld
);
return
;
}
ok
(
!
ret
,
"ldap_connect failed %#lx
\n
"
,
ret
);
ret
=
ldap_bind_sA
(
ld
,
(
char
*
)
"uid=winetest,ou=users,dc=debian,dc=org"
,
(
char
*
)
"winetest"
,
...
...
@@ -511,6 +517,12 @@ static void test_opt_ssl(void)
ret
=
ldap_set_optionA
(
ld
,
LDAP_OPT_SSL
,
LDAP_OPT_ON
);
ok
(
!
ret
,
"ldap_set_optionA should succeed, got %#lx
\n
"
,
ret
);
ret
=
ldap_simple_bind_sA
(
ld
,
NULL
,
NULL
);
if
(
ret
==
LDAP_SERVER_DOWN
)
{
skip
(
"test server can't be reached
\n
"
);
ldap_unbind
(
ld
);
return
;
}
todo_wine
ok
(
ret
==
LDAP_PROTOCOL_ERROR
,
"ldap_simple_bind_sA should fail, got %#lx
\n
"
,
ret
);
ldap_unbind
(
ld
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment