]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
detect/tests: Register protoname tests
authorJeff Lucovsky <jeff@lucovsky.org>
Thu, 17 Feb 2022 16:06:16 +0000 (11:06 -0500)
committerJeff Lucovsky <jeff@lucovsky.org>
Fri, 11 Mar 2022 14:03:33 +0000 (09:03 -0500)
Issue: 5072

This commit registers the proto-name unit tests.

(cherry picked from commit 3bd1d258a98c7e6f6fa45feb111f3297f1a527e7)

src/runmode-unittests.c

index 9fcddd57fac98a6826c41f607f3cfaa26fd2b187..500287cec98b098e4c403ebae7b94b6221fe04ea 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 2013-2021 Open Information Security Foundation
+/* Copyright (C) 2013-2022 Open Information Security Foundation
  *
  * You can copy, redistribute or modify this Program under the terms of
  * the GNU General Public License version 2 as published by the Free
@@ -207,6 +207,7 @@ static void RegisterUnittests(void)
 #ifdef WINDIVERT
     SourceWinDivertRegisterTests();
 #endif
+    SCProtoNameRegisterTests();
 }
 #endif