]> git.ipfire.org Git - thirdparty/suricata-verify.git/commitdiff
skip lua tests if lua support not compiled in
authorJason Ish <ish@unx.ca>
Sat, 25 Feb 2017 13:59:37 +0000 (07:59 -0600)
committerJason Ish <ish@unx.ca>
Sat, 25 Feb 2017 14:00:18 +0000 (08:00 -0600)
output-lua-smtp/skip.sh [new file with mode: 0644]
output-lua/skip.sh [new file with mode: 0644]

diff --git a/output-lua-smtp/skip.sh b/output-lua-smtp/skip.sh
new file mode 100644 (file)
index 0000000..f57ff24
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+if ./src/suricata --build-info | grep -i lua | grep -q lua; then
+    exit 0
+fi
+
+echo "lua not enabled"
+exit 1
diff --git a/output-lua/skip.sh b/output-lua/skip.sh
new file mode 100644 (file)
index 0000000..f57ff24
--- /dev/null
@@ -0,0 +1,8 @@
+#! /bin/sh
+
+if ./src/suricata --build-info | grep -i lua | grep -q lua; then
+    exit 0
+fi
+
+echo "lua not enabled"
+exit 1