]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
http-xff-unified2: quiet test script output
authorJason Ish <jason.ish@oisf.net>
Tue, 17 Mar 2020 15:38:01 +0000 (09:38 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 17 Mar 2020 15:38:01 +0000 (09:38 -0600)
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.

tests/http-xff-unified2/test.yaml

index 4ce902bfa6b8b362e4ec6934d99cb0ba8fcc7fab..8e212810b47345414a45decee1d4b7c2e39b9e7e 100644 (file)
@@ -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