From: Christopher Faulet Date: Wed, 19 Dec 2018 10:50:17 +0000 (+0100) Subject: REGTEST: Require the option LUA to run lua tests X-Git-Tag: v2.0-dev0~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdafd9a3f805f5a02541f74be2fa364600d96c91;p=thirdparty%2Fhaproxy.git REGTEST: Require the option LUA to run lua tests --- diff --git a/reg-tests/lua/b00000.vtc b/reg-tests/lua/b00000.vtc index 4229eeb06c..5d396a75cd 100644 --- a/reg-tests/lua/b00000.vtc +++ b/reg-tests/lua/b00000.vtc @@ -31,6 +31,8 @@ varnishtest "Basic LUA test h00000" +#REQUIRE_OPTIONS=LUA + feature ignore_unknown_macro server s1 -repeat 2 { diff --git a/reg-tests/lua/b00001.vtc b/reg-tests/lua/b00001.vtc index 213d423c15..4c39e95ed7 100644 --- a/reg-tests/lua/b00001.vtc +++ b/reg-tests/lua/b00001.vtc @@ -20,6 +20,7 @@ # the LUA sleep time. varnishtest "LUA bug" +#REQUIRE_OPTIONS=LUA feature ignore_unknown_macro diff --git a/reg-tests/lua/b00002.vtc b/reg-tests/lua/b00002.vtc index 6cb626e261..6f33985f9d 100644 --- a/reg-tests/lua/b00002.vtc +++ b/reg-tests/lua/b00002.vtc @@ -1,4 +1,6 @@ varnishtest "Lua: txn:get_priv() scope" +#REQUIRE_OPTIONS=LUA + feature ignore_unknown_macro haproxy h1 -conf { diff --git a/reg-tests/lua/b00003.vtc b/reg-tests/lua/b00003.vtc index a1731b0f2c..d785f7799a 100644 --- a/reg-tests/lua/b00003.vtc +++ b/reg-tests/lua/b00003.vtc @@ -14,6 +14,7 @@ # connectio closed by the client may stop the applet. varnishtest "possible CLOSE-WAIT with '\n' headers" +#REQUIRE_OPTIONS=LUA feature ignore_unknown_macro diff --git a/reg-tests/lua/h00001.vtc b/reg-tests/lua/h00001.vtc index 6d38ecab3e..8b9313951b 100644 --- a/reg-tests/lua/h00001.vtc +++ b/reg-tests/lua/h00001.vtc @@ -1,4 +1,6 @@ varnishtest "Lua: txn:get_priv() scope" +#REQUIRE_OPTIONS=LUA + feature ignore_unknown_macro haproxy h1 -conf {