inetmib1/tests: Add a FreeLibrary and turn some skip()s into win_skip()s.

This commit is contained in:
Paul Vriens 2009-04-29 10:08:01 +02:00 committed by Alexandre Julliard
parent 88b6d5eb0b
commit 5a892b8c49
1 changed files with 3 additions and 2 deletions

View File

@ -35,7 +35,7 @@ static void testInit(void)
pInit = (void *)GetProcAddress(inetmib1, "SnmpExtensionInit");
if (!pInit)
{
skip("no SnmpExtensionInit\n");
win_skip("no SnmpExtensionInit\n");
return;
}
/* Crash
@ -72,7 +72,7 @@ static void testQuery(void)
pQuery = (void *)GetProcAddress(inetmib1, "SnmpExtensionQuery");
if (!pQuery)
{
skip("couldn't find SnmpExtensionQuery\n");
win_skip("couldn't find SnmpExtensionQuery\n");
return;
}
/* Crash
@ -473,4 +473,5 @@ START_TEST(main)
inetmib1 = LoadLibraryA("inetmib1");
testInit();
testQuery();
FreeLibrary(inetmib1);
}