From fdafd9a3f805f5a02541f74be2fa364600d96c91 Mon Sep 17 00:00:00 2001 From: Christopher Faulet Date: Wed, 19 Dec 2018 11:50:17 +0100 Subject: [PATCH] REGTEST: Require the option LUA to run lua tests --- reg-tests/lua/b00000.vtc | 2 ++ reg-tests/lua/b00001.vtc | 1 + reg-tests/lua/b00002.vtc | 2 ++ reg-tests/lua/b00003.vtc | 1 + reg-tests/lua/h00001.vtc | 2 ++ 5 files changed, 8 insertions(+) diff --git a/reg-tests/lua/b00000.vtc b/reg-tests/lua/b00000.vtc index 4229eeb06..5d396a75c 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 213d423c1..4c39e95ed 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 6cb626e26..6f33985f9 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 a1731b0f2..d785f7799 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 6d38ecab3..8b9313951 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 {