From 4c916d3ed63c8792b42211fd2d1a4ea6b595bf67 Mon Sep 17 00:00:00 2001 From: Philippe Antoine Date: Tue, 25 May 2021 17:38:38 +0200 Subject: [PATCH] Use generic PCRE string for error code checking --- tests/threshold-config-validate-02/test.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- 2.47.2