]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
dns-udp-dns-log-unanswered: remove
authorJason Ish <jason.ish@oisf.net>
Fri, 12 Mar 2021 23:21:20 +0000 (17:21 -0600)
committerJason Ish <jason.ish@oisf.net>
Mon, 15 Mar 2021 22:10:26 +0000 (16:10 -0600)
This test was specific to the non-Rust DNS parser which is no
longer supported.

tests/dns-udp-dns-log-unanswered/README.md [deleted file]
tests/dns-udp-dns-log-unanswered/check.sh [deleted file]
tests/dns-udp-dns-log-unanswered/dnslookups2.pcap [deleted file]
tests/dns-udp-dns-log-unanswered/suricata.yaml [deleted file]
tests/dns-udp-dns-log-unanswered/test.yaml [deleted file]

diff --git a/tests/dns-udp-dns-log-unanswered/README.md b/tests/dns-udp-dns-log-unanswered/README.md
deleted file mode 100644 (file)
index 8a37a51..0000000
+++ /dev/null
@@ -1,4 +0,0 @@
-Test the dns.log for unanswered queries being logged.
-
-Based on the issue:
-https://redmine.openinfosecfoundation.org/issues/2012
diff --git a/tests/dns-udp-dns-log-unanswered/check.sh b/tests/dns-udp-dns-log-unanswered/check.sh
deleted file mode 100755 (executable)
index 851f928..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/sh
-
-n=$(grep Query dns.log | wc -l | xargs)
-if [ "$n" -ne 4 ]; then
-    echo "expected 4 queries, found $n"
-    exit 1
-fi
-
-n=$(grep Response dns.log | wc -l | xargs)
-if [ "$n" -ne 4 ]; then
-    echo "expected 4 responses, found $n"
-    exit 1
-fi
-
-exit 0
diff --git a/tests/dns-udp-dns-log-unanswered/dnslookups2.pcap b/tests/dns-udp-dns-log-unanswered/dnslookups2.pcap
deleted file mode 100644 (file)
index 11fdc2f..0000000
Binary files a/tests/dns-udp-dns-log-unanswered/dnslookups2.pcap and /dev/null differ
diff --git a/tests/dns-udp-dns-log-unanswered/suricata.yaml b/tests/dns-udp-dns-log-unanswered/suricata.yaml
deleted file mode 100644 (file)
index 323fd50..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-%YAML 1.1
----
-
-include: ../../etc/suricata-3.1.2.yaml
-
-outputs:
-  - dns-log:
-      enabled: yes
-      filename: dns.log
diff --git a/tests/dns-udp-dns-log-unanswered/test.yaml b/tests/dns-udp-dns-log-unanswered/test.yaml
deleted file mode 100644 (file)
index 6af8ec7..0000000
+++ /dev/null
@@ -1,2 +0,0 @@
-skip:
-  - feature: RUST