From: Jason Ish Date: Thu, 4 May 2017 15:25:42 +0000 (-0600) Subject: readme: expected directory is no longer X-Git-Tag: suricata-6.0.4~587 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c7333b240b1fa76dcd73596ef1d79c731d0fdcc1;p=thirdparty%2Fsuricata-verify.git readme: expected directory is no longer --- diff --git a/README.md b/README.md index dd04b89c0..9e93cc29a 100644 --- a/README.md +++ b/README.md @@ -34,6 +34,8 @@ Or to run a single test: - Add any rules required to ${dir}/test.rules. -- Add the expected output to ${dir}/expected. This might most easily - be done by running the test then copying the desired files in the - output directory to the expected directory (after verification). +- Add a "check.sh" script. This script is run after Suricata is + executed and should validate any Suricata output. It is executed + with the test directory as the working directory. This script should + exit 1 for failure, and 0 for success. +