]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
Use generic PCRE string for error code checking 549/head
authorPhilippe Antoine <contact@catenacyber.fr>
Tue, 25 May 2021 15:38:38 +0000 (17:38 +0200)
committerVictor Julien <victor@inliniac.net>
Wed, 29 Sep 2021 05:50:28 +0000 (07:50 +0200)
tests/threshold-config-validate-02/test.yaml

index 2aeb0d28e5d206fe7be62c5f0dae8486698ff706..693af01023caba23bcc23d7921f65148805b4031 100644 (file)
@@ -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: