[Tarantool-patches] [PATCH test-run] pretest_clean: add misc LuaJIT built-in module

Alexander Turenko alexander.turenko at tarantool.org
Thu Mar 11 11:05:06 MSK 2021


On Wed, Mar 10, 2021 at 12:39:05PM +0300, Sergey Kaplun wrote:
> LuaJIT built-in misc was introduced via
> tarantool/tarantool at e5039742eba89936bf2f8c5aebc8f21c810710d5
> (luajit: bump new version) in Tarantool and via
> tarantool/luajit at 5a61e1ab54b5c66bfebd836db1ac47996611e065
> (misc: add C and Lua API for platform metrics) in LuaJIT fork.
> 
> Follows up tarantool/tarantool#5187
> ---
> Branch: https://github.com/tarantool/test-run/tree/skaplun/gh-noticket-add-misc-bultin-in-pretest-clean
> 
>  pretest_clean.lua | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/pretest_clean.lua b/pretest_clean.lua
> index 9b5ac9d..8ea07e0 100644
> --- a/pretest_clean.lua
> +++ b/pretest_clean.lua
> @@ -264,6 +264,7 @@ local function clean()
>          json = true,
>          log = true,
>          math = true,
> +        misc = true,
>          msgpack = true,
>          msgpackffi = true,
>          ['net.box'] = true,

The module is loaded by default, so I would add it to 'allowed_globals'
too.


More information about the Tarantool-patches mailing list