From: Eric Leblond Date: Tue, 29 Jul 2014 08:05:23 +0000 (+0200) Subject: unittests: don't register app layer test X-Git-Tag: suricata-2.1beta1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0780c0704320c9534b8821e3dc0180f019068c30;p=thirdparty%2Fsuricata.git unittests: don't register app layer test Some tests are already registered via the function AppLayerParserRegisterProtocolUnittests. So we don't need to egister them during runmode initialization. --- diff --git a/src/runmode-unittests.c b/src/runmode-unittests.c index 83481388b9..838924e860 100644 --- a/src/runmode-unittests.c +++ b/src/runmode-unittests.c @@ -187,15 +187,6 @@ int RunUnittests(int list_unittests, char *regex_arg) DecodePPPRegisterTests(); DecodeVLANRegisterTests(); HTPParserRegisterTests(); -/* we are disabling the ssh parser temporarily, since we are moving away - * from some of the archaic features we use in the app layer. We will - * reintroduce this parser. Also do note that keywords that rely on - * the ssh parser would now be disabled */ -#if 0 - SSHParserRegisterTests(); -#endif - SMBParserRegisterTests(); - FTPParserRegisterTests(); DecodeRawRegisterTests(); DecodePPPOERegisterTests(); DecodeICMPV4RegisterTests(); @@ -250,7 +241,6 @@ int RunUnittests(int list_unittests, char *regex_arg) DetectEngineHttpHRHRegisterTests(); DetectEngineRegisterTests(); SCLogRegisterTests(); - SMTPParserRegisterTests(); MagicRegisterTests(); UtilMiscRegisterTests(); DetectAddressTests();