advapi32/tests: Move skip to a more appropriate place.

oldstable
Paul Vriens 2007-03-05 14:11:22 +01:00 committed by Alexandre Julliard
parent 71697ec116
commit 69299c7738
1 changed files with 3 additions and 3 deletions

View File

@ -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();
}