]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
filestore-v2: check for flow_id in .meta file
authorJason Ish <jason.ish@oisf.net>
Tue, 4 Aug 2020 21:14:45 +0000 (15:14 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 4 Aug 2020 21:14:45 +0000 (15:14 -0600)
tests/filestore-v2.4-forced-with-meta/test.yaml

index ee0d746c2f7a408bf2c127effb30b83f2754701b..62e043b4ad37992f7e8f423a3ed012b827ff3875 100644 (file)
@@ -18,3 +18,8 @@ checks:
       args: cat filestore/48/48d179a2f8d17331446c7a75a082851eee9ad841705ed5fbce730f51a0598d62.1515441287.1.json | jq -c 'select(.fileinfo.stored==true)' | wc -l | xargs
       expect: 1
 
+  - filter:
+      count: 1
+      filename: "filestore/48/48d179a2f8d17331446c7a75a082851eee9ad841705ed5fbce730f51a0598d62.1515441287.1.json"
+      match:
+        has-key: flow_id