From: Jason Ish Date: Tue, 17 Mar 2020 15:38:01 +0000 (-0600) Subject: http-xff-unified2: quiet test script output X-Git-Tag: suricata-6.0.4~348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32c1abdb103d891b33732d841b53d51007c4eb6c;p=thirdparty%2Fsuricata-verify.git http-xff-unified2: quiet test script output On failure the require script would send an error to stderr, redirect this to /dev/null as it is supposed to fail if there is no unified2 support. --- diff --git a/tests/http-xff-unified2/test.yaml b/tests/http-xff-unified2/test.yaml index 4ce902bfa..8e212810b 100644 --- a/tests/http-xff-unified2/test.yaml +++ b/tests/http-xff-unified2/test.yaml @@ -1,6 +1,6 @@ requires: script: - - grep Unified2XFFTypeAlert src/alert-unified2-alert.c > /dev/null + - grep Unified2XFFTypeAlert src/alert-unified2-alert.c > /dev/null 2>&1 # Require the idstools-u2json tool. - which idstools-u2json > /dev/null 2>&1