From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from [87.239.111.99] (localhost [127.0.0.1]) by dev.tarantool.org (Postfix) with ESMTP id C52126F3C5; Fri, 12 Mar 2021 19:40:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org C52126F3C5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1615567225; bh=wu95e+/Hf9am+1c3NitU1OWidzaeIP7Zw8PFMd2uZGo=; h=Date:To:References:In-Reply-To:Subject:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc: From; b=eoPfwrWbaR/wijGk9bHIf+IMmSX+X2b35oPj4WusnAc+5wfQKgXtjH8B7o/VGBLXn phHaTG0eHcXLIru8PWsdOR1QrI+kOrGuk6JUzgYrs2Az4h94sfnrcgb8Nwu25ERt86 QkEGE9veobcmIy4mgFDc0Mn439LTZogXxg5IEzSo= Received: from smtp54.i.mail.ru (smtp54.i.mail.ru [217.69.128.34]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dev.tarantool.org (Postfix) with ESMTPS id 48D766F3C5 for ; Fri, 12 Mar 2021 19:40:25 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 48D766F3C5 Received: by smtp54.i.mail.ru with esmtpa (envelope-from ) id 1lKkps-0005TD-Ca; Fri, 12 Mar 2021 19:40:24 +0300 Date: Fri, 12 Mar 2021 16:40:24 +0000 To: Artem Starshov Message-ID: <20210312164024.kqqeubidfpboqsyu@tarantool.org> References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) X-7564579A: EEAE043A70213CC8 X-77F55803: 4F1203BC0FB41BD9D3134714A9BDB69BC7A690B93B93DD09EFED8A8D520004C100894C459B0CD1B96CCE8F1DC3F5F7F1E0BCE0B6F39D189B8FECAF88F89C851C97B8945207C55574 X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7370F4F695FFFC24BEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F7900637C6ABF113959433A58638F802B75D45FF914D58D5BE9E6BC131B5C99E7648C95C11F5982A89E0728C11CA1D4902AF080453924D2F64BE9206A471835C12D1D9774AD6D5ED66289B5278DA827A17800CE77A825AB47F0FC8649FA2833FD35BB23D2EF20D2F80756B5F868A13BD56FB6657A471835C12D1D977725E5C173C3A84C327ED053E960B195E117882F4460429728AD0CFFFB425014E868A13BD56FB6657D81D268191BDAD3DC09775C1D3CA48CF0BA31D8C93E48850BA3038C0950A5D36C8A9BA7A39EFB766EC990983EF5C0329BA3038C0950A5D36D5E8D9A59859A8B65C137F56075BEB0576E601842F6C81A1F004C90652538430CDED94BCBF13EF3B93EC92FD9297F6718AA50765F790063747074E5DE1517656A7F4EDE966BC389F395957E7521B51C24C7702A67D5C33162DBA43225CD8A89FC0F9454058DFE53CC6EABA9B74D0DA47B5C8C57E37DE458B4C7702A67D5C3316FA3894348FB808DBAF038BB36E94EA6B574AF45C6390F7469DAA53EE0834AAEE X-B7AD71C0: AC4F5C86D027EB782CDD5689AFBDA7A24A6D60772A99906F8E1CD14B953EB46D48DCDD922F84C972355D89D7DBCDD132 X-C1DE0DAB: 0D63561A33F958A5F99EB781B06724F4683C24C9E23DFDADCC4486EF5D7B80C6D59269BC5F550898D99A6476B3ADF6B47008B74DF8BB9EF7333BD3B22AA88B938A852937E12ACA75F04B387B5D7535DE410CA545F18667F91A7EA1CDA0B5A7A0 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D34C786159FDC4342B0BC80225A65D91332EF1B0898D33A71B926289555B5C9F851AD0B59D2D49A4BC81D7E09C32AA3244CFD8EDA498E9B83AEED74CE7E477B92E3E3D93501275E802F927AC6DF5659F194 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojQNwI24iyQ+pfqsK/8ggA9w== X-Mailru-Sender: 05EB39F83D09414F9B5D7F52D7CDFDD2E0CE481EE5F224C6CE3CA90E1A3BD55B60296EC2A247D464CA16B95394F0DD5CE99530A0C0F27B5268329DCED823713783C0E760C018FF54112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: Re: [Tarantool-patches] [PATCHv4 0/2] lua: fix tarantool -e always enters interactive X-BeenThere: tarantool-patches@dev.tarantool.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Kirill Yukhin via Tarantool-patches Reply-To: Kirill Yukhin Cc: tarantool-patches@dev.tarantool.org, Alexander Turenko Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" Hello, On 11 мар 15:05, Artem Starshov via Tarantool-patches wrote: > 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 I've checked your patchset into 1.10, 2.6, 2.7 and master. -- Regards, Kirill Yukhin