From: Philippe Antoine Date: Tue, 25 May 2021 15:38:38 +0000 (+0200) Subject: Use generic PCRE string for error code checking X-Git-Tag: suricata-6.0.4~28 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F549%2Fhead;p=thirdparty%2Fsuricata-verify.git Use generic PCRE string for error code checking --- diff --git a/tests/threshold-config-validate-02/test.yaml b/tests/threshold-config-validate-02/test.yaml index 2aeb0d28e..693af0102 100644 --- a/tests/threshold-config-validate-02/test.yaml +++ b/tests/threshold-config-validate-02/test.yaml @@ -7,7 +7,7 @@ command: | checks: - shell: - args: grep -e "pcre_exec parse error, ret -1, string this is not correct" suricata.log | wc -l | xargs + args: grep -e "SC_ERR_PCRE_MATCH" suricata.log | wc -l | xargs expect: 1 - shell: