]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
readme: add exit-code example
authorJason Ish <jason.ish@oisf.net>
Tue, 6 Jun 2023 18:19:46 +0000 (12:19 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 13 Jun 2023 21:29:08 +0000 (15:29 -0600)
Document how a specific exit-code can be tested for.

README.md

index 8bd109c9651c3a07128c71809859914740c55ace..674e4803b192e9b7dd72b3b1c4b32da5697fc584 100644 (file)
--- a/README.md
+++ b/README.md
@@ -100,6 +100,11 @@ pre-check: |
 # "pcap: false" in the requires section.
 pcap: input.pcap
 
+# Test for a specific exit code. By default a test will fail if the
+# exit code is anything other than 0, however sometimes we may be
+# testing for failure.
+exit-code: 1
+
 checks:
 
   # A verification filter that is run over the eve.json. Multiple