]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
output-tcp-data: use file-compare in test.yaml
authorJason Ish <jason.ish@oisf.net>
Tue, 6 Jul 2021 23:00:20 +0000 (17:00 -0600)
committerJason Ish <jason.ish@oisf.net>
Tue, 6 Jul 2021 23:02:19 +0000 (17:02 -0600)
tests/output-tcp-data/check.sh [deleted file]
tests/output-tcp-data/test.yaml [new file with mode: 0644]

diff --git a/tests/output-tcp-data/check.sh b/tests/output-tcp-data/check.sh
deleted file mode 100755 (executable)
index 6a02265..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#! /bin/sh
-
-exec cmp ${TEST_DIR}/expected/tcp-data.log tcp-data.log
diff --git a/tests/output-tcp-data/test.yaml b/tests/output-tcp-data/test.yaml
new file mode 100644 (file)
index 0000000..b72df87
--- /dev/null
@@ -0,0 +1,4 @@
+checks:
+  - file-compare:
+      filename: tcp-data.log
+      expected: expected/tcp-data.log