Skip to content

Commit

Permalink
tests: fix distance test for 7 and 8
Browse files Browse the repository at this point in the history
  • Loading branch information
victorjulien committed Nov 16, 2023
1 parent 5e6e6d3 commit edef3ad
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests/test-unreachable-distance-1/test.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
pcap: ../detect-dotprefix-01/input.pcap

requires:
min-version: 8 # TODO
min-version: 7

checks:
- shell:
args: grep "signature can't match" suricata.log | wc -l | xargs
expect: 3

- shell:
args: grep SC_ERR_INVALID_SIGNATURE suricata.log | wc -l | xargs
expect: 6

- shell:
args: grep "1 rule files processed. 2 rules successfully loaded, 3 rules failed" suricata.log | wc -l | xargs
expect: 1
Expand Down

0 comments on commit edef3ad

Please sign in to comment.