|
|
|
@ -242,7 +242,7 @@ end:
|
|
|
|
|
magic_close(magic_ctx);
|
|
|
|
|
return retval;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
/** \test magic lib calls -- lookup */
|
|
|
|
|
int MagicDetectTest02(void)
|
|
|
|
|
{
|
|
|
|
@ -290,7 +290,7 @@ end:
|
|
|
|
|
magic_close(magic_ctx);
|
|
|
|
|
return retval;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
/** \test magic lib calls -- lookup */
|
|
|
|
|
int MagicDetectTest03(void)
|
|
|
|
|
{
|
|
|
|
@ -433,7 +433,7 @@ end:
|
|
|
|
|
MagicDeinit();
|
|
|
|
|
return retval;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#if 0
|
|
|
|
|
/** \test magic api calls -- lookup */
|
|
|
|
|
int MagicDetectTest06(void)
|
|
|
|
|
{
|
|
|
|
@ -474,7 +474,7 @@ end:
|
|
|
|
|
MagicDeinit();
|
|
|
|
|
return retval;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#endif
|
|
|
|
|
/** \test magic api calls -- lookup */
|
|
|
|
|
int MagicDetectTest07(void)
|
|
|
|
|
{
|
|
|
|
@ -661,11 +661,11 @@ void MagicRegisterTests(void)
|
|
|
|
|
UtRegisterTest("MagicInitTest01", MagicInitTest01, 1);
|
|
|
|
|
UtRegisterTest("MagicInitTest02", MagicInitTest02, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest01", MagicDetectTest01, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest02", MagicDetectTest02, 1);
|
|
|
|
|
//UtRegisterTest("MagicDetectTest02", MagicDetectTest02, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest03", MagicDetectTest03, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest04", MagicDetectTest04, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest05", MagicDetectTest05, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest06", MagicDetectTest06, 1);
|
|
|
|
|
//UtRegisterTest("MagicDetectTest06", MagicDetectTest06, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest07", MagicDetectTest07, 1);
|
|
|
|
|
UtRegisterTest("MagicDetectTest08", MagicDetectTest08, 1);
|
|
|
|
|
/* fails in valgrind, somehow it returns different pointers then.
|
|
|
|
|