From 8062ab01c9236014249d4a2a3dac407b45b29ca7 Mon Sep 17 00:00:00 2001 From: Shivani Bhardwaj Date: Mon, 10 Feb 2025 16:13:10 +0530 Subject: [PATCH] datarep: adjust error message to newer output --- tests/datarep-03-bad-reputation/test.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/datarep-03-bad-reputation/test.yaml b/tests/datarep-03-bad-reputation/test.yaml index debe6e5f9..29ac70984 100644 --- a/tests/datarep-03-bad-reputation/test.yaml +++ b/tests/datarep-03-bad-reputation/test.yaml @@ -14,8 +14,14 @@ args: checks: - shell: + min-version: 8 + args: grep "invalid datarep value" suricata.log | wc -l | xargs + expect: 1 + - shell: + lt-version: 8 args: grep "is not a valid reputation value" suricata.log | wc -l | xargs expect: 1 - shell: + lt-version: 8 args: grep "bad rep for dataset" suricata.log | wc -l | xargs expect: 1