]> 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)
committerShivani Bhardwaj <shivanib134@gmail.com>
Tue, 8 Mar 2022 15:04:15 +0000 (20:34 +0530)
Issue: 5072

This commit registers the proto-name unit tests.

(cherry picked from commit 3bd1d258a98c7e6f6fa45feb111f3297f1a527e7)

src/runmode-unittests.c

index 6c027c1e9fb58313e807449bfd53b11a06a4f33a..518bf52a6621e42f834889ef2d1480c34a2dc824 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