]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
unittests: don't register app layer test
authorEric Leblond <eric@regit.org>
Tue, 29 Jul 2014 08:05:23 +0000 (10:05 +0200)
committerVictor Julien <victor@inliniac.net>
Thu, 31 Jul 2014 13:43:26 +0000 (15:43 +0200)
Some tests are already registered via the function
AppLayerParserRegisterProtocolUnittests. So we don't need to
egister them during runmode initialization.

src/runmode-unittests.c

index 83481388b98c585836bb395dc684ef782f790faf..838924e860fdd29736e83e4e9eeabba5d29f6330 100644 (file)
@@ -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();