[Tarantool-patches] [PATCH luajit v3 27/29] test: disable PUC-Rio test checking -h option
Sergey Kaplun
skaplun at tarantool.org
Tue Apr 13 16:27:27 MSK 2021
Tarantool returns zero status at exit with -h option, unlike Lua or
LuaJIT does.
This patch disables the test checking the exit code, when binary
runs with -h option.
Part of tarantool/tarantool#5845
Part of tarantool/tarantool#4473
---
test/PUC-Rio-Lua-5.1-tests/main.lua | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/test/PUC-Rio-Lua-5.1-tests/main.lua b/test/PUC-Rio-Lua-5.1-tests/main.lua
index 79ca0cb4..07facc4c 100644
--- a/test/PUC-Rio-Lua-5.1-tests/main.lua
+++ b/test/PUC-Rio-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