Tarantool development patches archive
 help / color / mirror / Atom feed
* [Tarantool-patches] [PATCHv4 0/2] lua: fix tarantool -e always enters interactive
@ 2021-03-11 12:05 Artem Starshov via Tarantool-patches
  2021-03-11 12:05 ` [Tarantool-patches] [PATCHv4 1/2] core: add setting error injections via env Artem Starshov via Tarantool-patches
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Artem Starshov via Tarantool-patches @ 2021-03-11 12:05 UTC (permalink / raw)
  To: Alexander Turenko, Leonid Vasiliev; +Cc: tarantool-patches

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

Changes in v4:
  * core:
    - add wiki for setting error injections vi env: https://github.com/tarantool/tarantool/wiki/Error-injections;
    - since now `panic()` is invoked in case of wrong value for errinj environment variable;
    - some codestyle fixes;
  * lua:
    - add changelogs/unreleased/fix-tarantool-e-option.md;
    - some codestyle fixes;

Artem Starshov (2):
  core: add setting error injections via env
  lua: fix tarantool -e always enters interactive mode

 .../unreleased/fix-tarantool-e-option.md      |   6 +
 src/lib/core/errinj.c                         |  37 +++++
 src/lib/core/errinj.h                         |   6 +
 src/lua/init.c                                |  27 +++-
 src/main.cc                                   |   3 +
 ...5040-inter-mode-isatty-via-errinj.test.lua | 126 ++++++++++++++++++
 test/app-tap/suite.ini                        |   1 +
 .../errinj_set_with_enviroment_vars.test.lua  |  29 ++++
 ...errinj_set_with_enviroment_vars_script.lua |  34 +++++
 test/box-tap/suite.ini                        |   1 +
 test/box/errinj.result                        |   1 +
 11 files changed, 267 insertions(+), 4 deletions(-)
 create mode 100644 changelogs/unreleased/fix-tarantool-e-option.md
 create mode 100755 test/app-tap/gh-5040-inter-mode-isatty-via-errinj.test.lua
 create mode 100755 test/box-tap/errinj_set_with_enviroment_vars.test.lua
 create mode 100644 test/box-tap/errinj_set_with_enviroment_vars_script.lua

-- 
2.28.0


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-03-12 16:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-11 12:05 [Tarantool-patches] [PATCHv4 0/2] lua: fix tarantool -e always enters interactive Artem Starshov via Tarantool-patches
2021-03-11 12:05 ` [Tarantool-patches] [PATCHv4 1/2] core: add setting error injections via env Artem Starshov via Tarantool-patches
2021-03-11 12:05 ` [Tarantool-patches] [PATCHv4 2/2] lua: fix tarantool -e always enters interactive mode Artem Starshov via Tarantool-patches
2021-03-11 12:34 ` [Tarantool-patches] [PATCHv4 0/2] lua: fix tarantool -e always enters interactive Leonid Vasiliev via Tarantool-patches
2021-03-12 16:40 ` Kirill Yukhin via Tarantool-patches

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox