advapi32/tests: Move skip to a more appropriate place.
This commit is contained in:
parent
71697ec116
commit
69299c7738
|
@ -54,8 +54,6 @@ static BOOL init(void)
|
|||
|
||||
if (pLsaClose && pLsaFreeMemory && pLsaOpenPolicy && pLsaQueryInformationPolicy && pConvertSidToStringSidA)
|
||||
return TRUE;
|
||||
else
|
||||
skip("Needed functions are not available\n");
|
||||
}
|
||||
|
||||
return FALSE;
|
||||
|
@ -180,8 +178,10 @@ static void test_lsa(void)
|
|||
|
||||
START_TEST(lsa)
|
||||
{
|
||||
if (!init())
|
||||
if (!init()) {
|
||||
skip("Needed functions are not available\n");
|
||||
return;
|
||||
}
|
||||
|
||||
test_lsa();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue