advapi32/tests: Use skip.

This commit is contained in:
Paul Vriens 2007-03-29 20:47:02 +02:00 committed by Alexandre Julliard
parent b07d7ce729
commit 640cb29bb7
1 changed files with 3 additions and 0 deletions

View File

@ -873,7 +873,10 @@ static void test_token_attr(void)
} }
if(!pConvertSidToStringSidA) if(!pConvertSidToStringSidA)
{
skip("ConvertSidToStringSidA is not available\n");
return; return;
}
ret = OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY|TOKEN_DUPLICATE, &Token); ret = OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY|TOKEN_DUPLICATE, &Token);
GLE = GetLastError(); GLE = GetLastError();