[Tarantool-patches] [PATCH v2 luajit 28/30] test: disable PUC Lua test checking -h option
Sergey Kaplun
skaplun at tarantool.org
Fri Mar 26 10:43:11 MSK 2021
Tarantool returns zero status at exit with -h option, unlike Lua or
LuaJIT does.
This patch disables test checking returning status, when binary
runs with -h option.
Part of tarantool/tarantool#5845
Part of tarantool/tarantool#4473
---
test/PUC-Lua-5.1-tests/main.lua | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/PUC-Lua-5.1-tests/main.lua b/test/PUC-Lua-5.1-tests/main.lua
index acc50a6..0ca7ef4 100644
--- a/test/PUC-Lua-5.1-tests/main.lua
+++ b/test/PUC-Lua-5.1-tests/main.lua
@@ -201,7 +201,10 @@ assert(not os.remove(out))
RUN("lua -v")
-NoRun("lua -h")
+-- FIXME: Tarantool returns zero status at exit with -h option,
+-- unlike Lua or LuaJIT does.
+-- The test is disabled for Tarantool binary.
+-- NoRun("lua -h")
NoRun("lua -e")
NoRun("lua -e a")
NoRun("lua -f")
--
2.31.0
More information about the Tarantool-patches
mailing list