secur32: Fix test failure with neither gnutls nor ntlm_auth available.
This commit is contained in:
parent
601b3b2732
commit
b95e146ccb
|
@ -143,8 +143,17 @@ static void testEnumerateSecurityPackages(void)
|
|||
"EnumerateSecurityPackages() should return %d, not %08x\n",
|
||||
SEC_E_OK, sec_status);
|
||||
|
||||
ok(num_packages > 0, "Number of sec packages should be > 0 ,but is %d\n",
|
||||
num_packages);
|
||||
if (num_packages == 0)
|
||||
{
|
||||
todo_wine
|
||||
ok(num_packages > 0, "Number of sec packages should be > 0 ,but is %d\n",
|
||||
num_packages);
|
||||
skip("no sec packages to check\n");
|
||||
return;
|
||||
}
|
||||
else
|
||||
ok(num_packages > 0, "Number of sec packages should be > 0 ,but is %d\n",
|
||||
num_packages);
|
||||
|
||||
ok(pkg_info != NULL,
|
||||
"pkg_info should not be NULL after EnumerateSecurityPackages\n");
|
||||
|
|
Loading…
Reference in New Issue