]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: fix sip tests
authorGiuseppe Longo <giuseppe@glongo.it>
Wed, 20 Nov 2019 10:50:36 +0000 (11:50 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 25 Nov 2019 20:52:32 +0000 (21:52 +0100)
The correct numbers of alerts logged is not correct and OISF/suricata#4330
fixes this issue, so this commit fixes tests that are broken.

tests/sip-method/test.yaml
tests/sip-request-line/test.yaml [changed mode: 0644->0755]
tests/sip-response-line/test.yaml [changed mode: 0644->0755]
tests/sip-uri/test.yaml [changed mode: 0644->0755]

index f7b3add47a153033c7825bd0ff4bfa4d10c7105a..53bcefc01d00c030ece1ecba6eb7e5e4fe55ab46 100644 (file)
@@ -11,6 +11,6 @@ pcap: sip.pcap
 
 checks:
   - filter:
-      count: 36
+      count: 18
       match:
         event_type: alert
old mode 100644 (file)
new mode 100755 (executable)
index 4784b03..41519e4
@@ -11,6 +11,6 @@ pcap: ../sip-method/sip.pcap
 
 checks:
   - filter:
-      count: 36
+      count: 18
       match:
         event_type: alert
old mode 100644 (file)
new mode 100755 (executable)
index 39e7577..b07acdf
@@ -11,6 +11,6 @@ pcap: ../sip-method/sip.pcap
 
 checks:
   - filter:
-      count: 5
+      count: 3
       match:
         event_type: alert
old mode 100644 (file)
new mode 100755 (executable)
index 4784b03..41519e4
@@ -11,6 +11,6 @@ pcap: ../sip-method/sip.pcap
 
 checks:
   - filter:
-      count: 36
+      count: 18
       match:
         event_type: alert