]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests/vntag: Basic test case for VNTAG decode
authorJeff Lucovsky <jeff@lucovsky.org>
Sat, 24 Apr 2021 20:04:04 +0000 (16:04 -0400)
committerJason Ish <jason.ish@oisf.net>
Tue, 6 Jul 2021 21:48:45 +0000 (15:48 -0600)
tests/decode-vntag-01/README.md [new file with mode: 0644]
tests/decode-vntag-01/input.pcap [new file with mode: 0644]
tests/decode-vntag-01/test.yaml [new file with mode: 0644]

diff --git a/tests/decode-vntag-01/README.md b/tests/decode-vntag-01/README.md
new file mode 100644 (file)
index 0000000..6749466
--- /dev/null
@@ -0,0 +1 @@
+Ensure VNTAG (802.1Qbh) packets are decoded
diff --git a/tests/decode-vntag-01/input.pcap b/tests/decode-vntag-01/input.pcap
new file mode 100644 (file)
index 0000000..64d4aca
Binary files /dev/null and b/tests/decode-vntag-01/input.pcap differ
diff --git a/tests/decode-vntag-01/test.yaml b/tests/decode-vntag-01/test.yaml
new file mode 100644 (file)
index 0000000..199d448
--- /dev/null
@@ -0,0 +1,10 @@
+requires:
+
+  min-version: 7
+
+checks:
+
+    - stats:
+        decoder.ipv4: 5
+        decoder.vlan: 5
+        decoder.vntag: 5