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
0c82af8a
Commit
0c82af8a
authored
Oct 22, 2008
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 22, 2008
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32: Skip tests when the server can't be reached.
parent
f6fe073b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
parse.c
dlls/wldap32/tests/parse.c
+3
-2
No files found.
dlls/wldap32/tests/parse.c
View file @
0c82af8a
...
...
@@ -48,12 +48,13 @@ 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
);
ok
(
!
ret
,
"ldap_search_ext_sA failed 0x%x
\n
"
,
ret
);
if
(
ret
)
if
(
ret
==
LDAP_SERVER_DOWN
)
{
skip
(
"test server can't be reached
\n
"
);
ldap_control_free
(
sort
);
return
;
}
ok
(
!
ret
,
"ldap_search_ext_sA failed 0x%x
\n
"
,
ret
);
ok
(
res
!=
NULL
,
"expected res != NULL
\n
"
);
ret
=
ldap_parse_resultA
(
NULL
,
res
,
&
result
,
NULL
,
NULL
,
NULL
,
&
server_ctrls
,
1
);
...
...
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