inetmib1/tests: Add a FreeLibrary and turn some skip()s into win_skip()s.
This commit is contained in:
parent
88b6d5eb0b
commit
5a892b8c49
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue