[Tarantool-patches] [PATCH 0/3] lua: fix tarantool -e always enters interactive mode

Artem Starshov artemreyt at tarantool.org
Wed Jan 27 02:37:05 MSK 2021


Issue: https://github.com/tarantool/tarantool/issues/5040
Branch: https://github.com/tarantool/tarantool/tree/artemreyt/gh-5040-interactive-mode-bug

First commit is the same as in gh-4983 (-e assert false).

Artem Starshov (3):
  test: add separated module for proccess operations with timeout
  core: add setting error injections via env
  lua: fix tarantool -e always enters interactive mode

 src/lib/core/errinj.c                         |  26 ++++
 src/lib/core/errinj.h                         |   6 +
 src/lua/init.c                                |  28 +++-
 src/main.cc                                   |   1 +
 ...40-always-enters-interactive-mode.test.lua | 121 ++++++++++++++++++
 test/app-tap/lua/process_timeout.lua          |  59 +++++++++
 test/app-tap/suite.ini                        |   2 +-
 test/box/errinj.result                        |   1 +
 8 files changed, 239 insertions(+), 5 deletions(-)
 create mode 100755 test/app-tap/gh-5040-always-enters-interactive-mode.test.lua
 create mode 100644 test/app-tap/lua/process_timeout.lua

-- 
2.28.0



More information about the Tarantool-patches mailing list