From: Jason Ish Date: Sat, 25 Feb 2017 13:59:37 +0000 (-0600) Subject: skip lua tests if lua support not compiled in X-Git-Tag: suricata-6.0.4~598 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4f7b7353149ae179a64bb765810c60eeb6a9a19;p=thirdparty%2Fsuricata-verify.git skip lua tests if lua support not compiled in --- diff --git a/output-lua-smtp/skip.sh b/output-lua-smtp/skip.sh new file mode 100644 index 000000000..f57ff244f --- /dev/null +++ b/output-lua-smtp/skip.sh @@ -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 index 000000000..f57ff244f --- /dev/null +++ b/output-lua/skip.sh @@ -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