mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 21:55:12 +00:00
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…
x
Reference in New Issue
Block a user