[Tarantool-patches] [PATCH v21 6/6] test: add box.lib test

Vladislav Shpilevoy v.shpilevoy at tarantool.org
Tue Apr 13 01:08:56 MSK 2021


Thanks for the fixes!

Please, apply this diff:

====================
diff --git a/test/box/cfunc4.c b/test/box/cfunc4.c
index a03a23026..0cf6fd8fa 100644
--- a/test/box/cfunc4.c
+++ b/test/box/cfunc4.c
@@ -1,4 +1,4 @@
-#include <msgpuck.h>
+#include "msgpuck.h"
 #include "module.h"
 
 /*
diff --git a/test/box/lib.result b/test/box/lib.result
index 5067e9b36..2a89e78d1 100644
--- a/test/box/lib.result
+++ b/test/box/lib.result
@@ -348,9 +348,6 @@ fio.symlink(cfunc3_path, cfunc_path)
 box.schema.func.create('cfunc.cfunc_add', {language = "C"})
  | ---
  | ...
-box.schema.user.grant('guest', 'execute', 'function', 'cfunc.cfunc_add')
- | ---
- | ...
 box.func['cfunc.cfunc_add']:call({1, 2})
  | ---
  | - 3
diff --git a/test/box/lib.test.lua b/test/box/lib.test.lua
index 93cea90b6..076a43389 100644
--- a/test/box/lib.test.lua
+++ b/test/box/lib.test.lua
@@ -136,7 +136,6 @@ _ = pcall(fio.unlink(cfunc_path))
 -- appear in box.lib hash.
 fio.symlink(cfunc3_path, cfunc_path)
 box.schema.func.create('cfunc.cfunc_add', {language = "C"})
-box.schema.user.grant('guest', 'execute', 'function', 'cfunc.cfunc_add')
 box.func['cfunc.cfunc_add']:call({1, 2})
 
 -- Now we have 2 refs for low level module (when function


More information about the Tarantool-patches mailing list