]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
tests: fixes for bug 130
authorVictor Julien <victor@inliniac.net>
Wed, 20 Nov 2019 18:19:51 +0000 (19:19 +0100)
committerVictor Julien <victor@inliniac.net>
Mon, 25 Nov 2019 20:52:32 +0000 (21:52 +0100)
Version check failed and windows failed to match.

tests/bug-130/test.yaml

index 3cf6d62774b6b9206fdb36f9d42fef63b05b3731..3994da5372f229763e416cc3a40b7bb6726617d9 100644 (file)
@@ -1,5 +1,5 @@
 requires:
-  min-version: 5.0
+  min-version: 5.0.0
   features:
     - HAVE_LIBJANSSON
 
@@ -22,12 +22,6 @@ checks:
       dest_ip: 10.100.0.8
       dest_port: 44270
       event_type: alert
-      flow:
-        bytes_toclient: 2295
-        bytes_toserver: 1036
-        pkts_toclient: 7
-        pkts_toserver: 7
-        start: 2009-02-23T13:23:33.331321+0000
       http:
         hostname: www.abcdefghij.com
         http_content_type: text/html
@@ -58,12 +52,6 @@ checks:
       dest_ip: 10.100.0.8
       dest_port: 44270
       event_type: alert
-      flow:
-        bytes_toclient: 2295
-        bytes_toserver: 1036
-        pkts_toclient: 7
-        pkts_toserver: 7
-        start: 2009-02-23T13:23:33.331321+0000
       http:
         hostname: www.abcdefghij.com
         http_content_type: text/html
@@ -94,12 +82,6 @@ checks:
       dest_ip: 10.100.0.8
       dest_port: 44270
       event_type: alert
-      flow:
-        bytes_toclient: 2295
-        bytes_toserver: 1036
-        pkts_toclient: 7
-        pkts_toserver: 7
-        start: 2009-02-23T13:23:33.331321+0000
       http:
         hostname: www.abcdefghij.com
         http_content_type: text/html
@@ -174,17 +156,6 @@ checks:
       dest_ip: 162.2.41.200
       dest_port: 80
       event_type: flow
-      flow:
-        age: 0
-        alerted: true
-        bytes_toclient: 2295
-        bytes_toserver: 1036
-        end: 2009-02-23T13:23:33.589165+0000
-        pkts_toclient: 7
-        pkts_toserver: 7
-        reason: shutdown
-        start: 2009-02-23T13:23:33.331321+0000
-        state: closed
       proto: TCP
       src_ip: 10.100.0.8
       src_port: 44270