[Tarantool-patches] [PATCH test-run] pretest_clean: add misc LuaJIT built-in module
Sergey Kaplun
skaplun at tarantool.org
Thu Mar 11 11:42:40 MSK 2021
Hi!
On 11.03.21, Alexander Turenko wrote:
> 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.
Thanks, my bad! Fixed and force-pushed to the branch. See the iterative
patch below:
===================================================================
diff --git a/pretest_clean.lua b/pretest_clean.lua
index 8ea07e0..446ecf2 100644
--- a/pretest_clean.lua
+++ b/pretest_clean.lua
@@ -155,6 +155,7 @@ local function clean()
io = true,
jit = true,
math = true,
+ misc = true,
os = true,
package = true,
string = true,
===================================================================
--
Best regards,
Sergey Kaplun
More information about the Tarantool-patches
mailing list