]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: add test for --list-app-layer-frames option
authorVictor Julien <victor@inliniac.net>
Mon, 22 Dec 2025 09:07:33 +0000 (10:07 +0100)
committerVictor Julien <vjulien@oisf.net>
Mon, 5 Jan 2026 13:06:34 +0000 (13:06 +0000)
Ticket: #8174.

tests/list-frames/test.yaml [new file with mode: 0644]

diff --git a/tests/list-frames/test.yaml b/tests/list-frames/test.yaml
new file mode 100644 (file)
index 0000000..211d615
--- /dev/null
@@ -0,0 +1,15 @@
+requires:
+  min-version: 9
+
+pcap: false
+
+args:
+ - --list-app-layer-frames
+
+checks:
+    - shell:
+        args: 'grep "tcp\: http1.response" stdout | wc -l | xargs'
+        expect: 1
+    - shell:
+        args: 'grep "udp\: mdns.pdu" stdout | wc -l | xargs'
+        expect: 1