mirror of
https://github.com/reactos/reactos.git
synced 2025-07-30 22:01:43 +00:00
[wldap32_winetest]
sync wldap32_winetest to wine 1.1.35 svn path=/trunk/; revision=44739
This commit is contained in:
parent
f521358b5c
commit
fb2407c104
1 changed files with 7 additions and 2 deletions
|
@ -57,8 +57,13 @@ static void test_ldap_parse_sort_control( LDAP *ld )
|
|||
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 );
|
||||
ok( ret == LDAP_PARAM_ERROR, "ldap_parse_resultA failed 0x%x\n", ret );
|
||||
if (GetProcAddress(GetModuleHandle("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 );
|
||||
}
|
||||
else
|
||||
win_skip("Test would crash on older wldap32 versions\n");
|
||||
|
||||
result = ~0u;
|
||||
ret = ldap_parse_resultA( ld, res, &result, NULL, NULL, NULL, &server_ctrls, 1 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue