From: Jason Ish Date: Tue, 9 Jan 2018 20:46:26 +0000 (-0600) Subject: add requires HAVE_LIBJANSSON to tests using eve X-Git-Tag: suricata-6.0.4~545 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9fdb895a44b27178227a44d9eb54d1ed9082eb26;p=thirdparty%2Fsuricata-verify.git add requires HAVE_LIBJANSSON to tests using eve --- diff --git a/tests/alert-testmyids-not-established/test.yaml b/tests/alert-testmyids-not-established/test.yaml index 136b33f52..ef1c26699 100644 --- a/tests/alert-testmyids-not-established/test.yaml +++ b/tests/alert-testmyids-not-established/test.yaml @@ -1,3 +1,7 @@ +requires: + features: + - HAVE_LIBJANSSON + checks: - shell: diff --git a/tests/alert-testmyids/test.yaml b/tests/alert-testmyids/test.yaml index b9d5dda84..9ac7277e6 100644 --- a/tests/alert-testmyids/test.yaml +++ b/tests/alert-testmyids/test.yaml @@ -1,3 +1,7 @@ +requires: + features: + - HAVE_LIBJANSSON + checks: # Check that we only have one alert event type in eve. diff --git a/tests/dnp3-dnp3_data-alert/test.yaml b/tests/dnp3-dnp3_data-alert/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dnp3-dnp3_data-alert/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dnp3-dnp3_func-alert/test.yaml b/tests/dnp3-dnp3_func-alert/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dnp3-dnp3_func-alert/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dnp3/test.yaml b/tests/dnp3/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dnp3/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-json-log/test.yaml b/tests/dns-json-log/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-json-log/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-tcp-multirequest-buffer-1/test.yaml b/tests/dns-tcp-multirequest-buffer-1/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-tcp-multirequest-buffer-1/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-tcp-ts-gap/test.yaml b/tests/dns-tcp-ts-gap/test.yaml index bdf6e283b..b0b1bef18 100644 --- a/tests/dns-tcp-ts-gap/test.yaml +++ b/tests/dns-tcp-ts-gap/test.yaml @@ -1,3 +1,5 @@ requires: # App-layer gap handling didn't happen until v4. min-version: 4.0.0 + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-tcp-www-google-com/test.yaml b/tests/dns-tcp-www-google-com/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-tcp-www-google-com/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-dig-a-www-suricata-ids-org/test.yaml b/tests/dns-udp-dig-a-www-suricata-ids-org/test.yaml index 1285cbac6..23a2d9671 100644 --- a/tests/dns-udp-dig-a-www-suricata-ids-org/test.yaml +++ b/tests/dns-udp-dig-a-www-suricata-ids-org/test.yaml @@ -1,3 +1,7 @@ +requires: + features: + - HAVE_LIBJANSSON + checks: - filter: diff --git a/tests/dns-udp-double-request-response/test.yaml b/tests/dns-udp-double-request-response/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-double-request-response/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-eve-log-aaaa-only/test.yaml b/tests/dns-udp-eve-log-aaaa-only/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-eve-log-aaaa-only/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-eve-log-answer-only/test.yaml b/tests/dns-udp-eve-log-answer-only/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-eve-log-answer-only/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-eve-log-mx-only/test.yaml b/tests/dns-udp-eve-log-mx-only/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-eve-log-mx-only/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-eve-log-query-only/test.yaml b/tests/dns-udp-eve-log-query-only/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-eve-log-query-only/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-eve-log-txt/test.yaml b/tests/dns-udp-eve-log-txt/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-eve-log-txt/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-nxdomain-soa/test.yaml b/tests/dns-udp-nxdomain-soa/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/dns-udp-nxdomain-soa/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/dns-udp-unsolicited-response/test.yaml b/tests/dns-udp-unsolicited-response/test.yaml index dfbdcfb53..6aec7b1ab 100644 --- a/tests/dns-udp-unsolicited-response/test.yaml +++ b/tests/dns-udp-unsolicited-response/test.yaml @@ -2,3 +2,5 @@ requires: # Test will be skipped if any of these features are present. not-features: - RUST + features: + - HAVE_LIBJANSSON diff --git a/tests/eve-dns/test.yaml b/tests/eve-dns/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/eve-dns/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/linktype-228/test.yaml b/tests/linktype-228/test.yaml index e5a9cef1e..ad1c54aee 100644 --- a/tests/linktype-228/test.yaml +++ b/tests/linktype-228/test.yaml @@ -1,3 +1,5 @@ requires: # Linktype 228 wasn't supported until version 4.1.0 min-version: 4.1.0 + features: + - HAVE_LIBJANSSON diff --git a/tests/output-eve-fileinfo/test.yaml b/tests/output-eve-fileinfo/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/output-eve-fileinfo/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/proto-mismatch-http-ssh/test.yaml b/tests/proto-mismatch-http-ssh/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/proto-mismatch-http-ssh/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/single-dns-request/test.yaml b/tests/single-dns-request/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/single-dns-request/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/smtp/test.yaml b/tests/smtp/test.yaml index 58589f2ff..534456919 100644 --- a/tests/smtp/test.yaml +++ b/tests/smtp/test.yaml @@ -1,3 +1,7 @@ +requires: + features: + - HAVE_LIBJANSSON + checks: # Check that there is only one SMTP event with specific parameters. diff --git a/tests/tls-fingerprint-alert/test.yaml b/tests/tls-fingerprint-alert/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/tls-fingerprint-alert/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/tls-json-output-ids/test.yaml b/tests/tls-json-output-ids/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/tls-json-output-ids/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/tls-json-output-ips/test.yaml b/tests/tls-json-output-ips/test.yaml new file mode 100644 index 000000000..56ea9b0d5 --- /dev/null +++ b/tests/tls-json-output-ips/test.yaml @@ -0,0 +1,3 @@ +requires: + features: + - HAVE_LIBJANSSON diff --git a/tests/tls/test.yaml b/tests/tls/test.yaml index 372070119..088fbb855 100644 --- a/tests/tls/test.yaml +++ b/tests/tls/test.yaml @@ -1,3 +1,7 @@ +requires: + features: + - HAVE_LIBJANSSON + checks: - filter: