]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
test/ftp: Verify FTP memory usage
authorJeff Lucovsky <jeff@lucovsky.org>
Tue, 21 Apr 2020 14:34:02 +0000 (10:34 -0400)
committerVictor Julien <victor@inliniac.net>
Sun, 26 Apr 2020 11:37:41 +0000 (13:37 +0200)
This commit adds a test case for verifying that FTP memory use and
accounting are correct.

tests/bug-3519/input.pcap [new file with mode: 0644]
tests/bug-3519/test.yaml [new file with mode: 0644]

diff --git a/tests/bug-3519/input.pcap b/tests/bug-3519/input.pcap
new file mode 100644 (file)
index 0000000..3b2dc2b
Binary files /dev/null and b/tests/bug-3519/input.pcap differ
diff --git a/tests/bug-3519/test.yaml b/tests/bug-3519/test.yaml
new file mode 100644 (file)
index 0000000..f60a3f9
--- /dev/null
@@ -0,0 +1,10 @@
+requires:
+  features:
+    - HAVE_LIBJANSSON
+
+checks:
+  - filter:
+      count: 1
+      match:
+        event_type: stats
+        stats.ftp.memuse: 0