Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
0994781d
Commit
0994781d
authored
Oct 14, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
Oct 14, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wldap32/tests: Compile with -D__WINESRC__.
parent
fcd4527e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/wldap32/tests/Makefile.in
+0
-1
parse.c
dlls/wldap32/tests/parse.c
+4
-4
No files found.
dlls/wldap32/tests/Makefile.in
View file @
0994781d
TESTDLL
=
wldap32.dll
IMPORTS
=
wldap32
EXTRADEFS
=
-U__WINESRC__
-DWINE_STRICT_PROTOTYPES
-DWINE_NO_NAMELESS_EXTENSION
-DWIDL_C_INLINE_WRAPPERS
C_SRCS
=
\
parse.c
...
...
dlls/wldap32/tests/parse.c
View file @
0994781d
...
...
@@ -51,13 +51,13 @@ static void test_ldap_parse_sort_control( LDAP *ld )
if
(
ret
==
LDAP_SERVER_DOWN
)
{
skip
(
"test server can't be reached
\n
"
);
ldap_control_free
(
sort
);
ldap_control_free
A
(
sort
);
return
;
}
ok
(
!
ret
,
"ldap_search_ext_sA failed 0x%x
\n
"
,
ret
);
ok
(
res
!=
NULL
,
"expected res != NULL
\n
"
);
if
(
GetProcAddress
(
GetModuleHandle
(
"wldap32.dll"
),
"ber_init"
))
if
(
GetProcAddress
(
GetModuleHandle
A
(
"wldap32.dll"
),
"ber_init"
))
{
ret
=
ldap_parse_resultA
(
NULL
,
res
,
&
result
,
NULL
,
NULL
,
NULL
,
&
server_ctrls
,
1
);
ok
(
ret
==
LDAP_PARAM_ERROR
,
"ldap_parse_resultA failed 0x%x
\n
"
,
ret
);
...
...
@@ -82,8 +82,8 @@ static void test_ldap_parse_sort_control( LDAP *ld )
ret
=
ldap_parse_sort_controlA
(
ld
,
server_ctrls
,
&
result
,
NULL
);
ok
(
ret
==
LDAP_CONTROL_NOT_FOUND
,
"ldap_parse_sort_controlA failed 0x%x
\n
"
,
ret
);
ldap_control_free
(
sort
);
ldap_controls_free
(
server_ctrls
);
ldap_control_free
A
(
sort
);
ldap_controls_free
A
(
server_ctrls
);
}
static
void
test_ldap_search_extW
(
LDAP
*
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