mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-05 13:06:10 +02:00
REGTESTS: lua: add tune.lua.openlibs to all Lua reg-tests
Ensure that all Lua regression tests exercise the restricted library mode by setting "tune.lua.openlibs none" in their global section. Only txn_get_priv-thread.vtc requires "string,table"
This commit is contained in:
parent
591a85e29e
commit
0e18e1cc77
@ -39,6 +39,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/bad_http_clt_req_duration.lua
|
||||
|
||||
|
||||
@ -30,6 +30,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/close_wait_lf.lua
|
||||
|
||||
|
||||
@ -9,6 +9,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/h_txn_get_priv.lua
|
||||
|
||||
|
||||
@ -15,8 +15,9 @@ haproxy h1 -conf {
|
||||
.if feature(THREAD)
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
|
||||
lua-load ${testdir}/httpclient_action.lua
|
||||
defaults
|
||||
mode tcp
|
||||
|
||||
@ -42,6 +42,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/lua_httpclient.lua
|
||||
|
||||
|
||||
@ -14,6 +14,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/lua_socket.lua
|
||||
|
||||
|
||||
@ -19,6 +19,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/set_var.lua
|
||||
|
||||
|
||||
@ -15,6 +15,7 @@ haproxy h1 -conf {
|
||||
# under us.
|
||||
tune.idle-pool.shared off
|
||||
|
||||
tune.lua.openlibs string,table
|
||||
tune.lua.bool-sample-conversion normal
|
||||
|
||||
lua-load-per-thread ${testdir}/txn_get_priv.lua
|
||||
|
||||
@ -10,6 +10,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/txn_get_priv.lua
|
||||
lua-load ${testdir}/txn_get_priv-print_r.lua
|
||||
|
||||
@ -47,6 +47,7 @@ haproxy h1 -conf {
|
||||
thread-groups 1
|
||||
.endif
|
||||
|
||||
tune.lua.openlibs none
|
||||
tune.lua.bool-sample-conversion normal
|
||||
lua-load ${testdir}/wrong_types_usage.lua
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user