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 7B0C1645E6; Wed, 27 Jan 2021 02:37:14 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7B0C1645E6 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=tarantool.org; s=dev; t=1611704234; bh=8rR3uIhfGxNSm9pvuixMdAFkEaYW62qy/cxzFpes2ZQ=; h=To:Date:Subject:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:Cc:From; b=fvWhTTnrYAhnufKzmaMWInjHwwO5O7QYTRrhTBXmDGgl9iFbRN4NXtEhDzyobLKaH yrts65+vqZ5f4qQl06q7dcq4uUW/T9NIEuDz1Mx97ohcIcbJrSuSmpUl2j9mjnlb/j pZEPxypFtrfHRfI1LiOVn5DPIuOvRQh8auosAOTY= Received: from smtp39.i.mail.ru (smtp39.i.mail.ru [94.100.177.99]) (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 7C85A70310 for ; Wed, 27 Jan 2021 02:37:12 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 dev.tarantool.org 7C85A70310 Received: by smtp39.i.mail.ru with esmtpa (envelope-from ) id 1l4XtX-0002oP-4M; Wed, 27 Jan 2021 02:37:11 +0300 To: Alexander Turenko Date: Wed, 27 Jan 2021 02:37:05 +0300 Message-Id: X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-7564579A: 646B95376F6C166E X-77F55803: 4F1203BC0FB41BD92BC6D7A73B5E1EC999351CFD198CD6A83B27540038C113F100894C459B0CD1B9C772374BC4ADAC05ABFD037767D7DE0979EEC448202F9853073C1C8732F84CED X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE7A3DED2DACB82E709C2099A533E45F2D0395957E7521B51C2CFCAF695D4D8E9FCEA1F7E6F0F101C6778DA827A17800CE7370F4F695FFFC24BEA1F7E6F0F101C674E70A05D1297E1BBC6CDE5D1141D2B1CE9973C3D4F28559B2F066338AA5425EA30323A32FFD662E19FA2833FD35BB23D9E625A9149C048EE33AC447995A7AD18CB629EEF1311BF91D2E47CDBA5A96583BD4B6F7A4D31EC0BC014FD901B82EE079FA2833FD35BB23D27C277FBC8AE2E8B2EE5AD8F952D28FBA471835C12D1D977C4224003CC836476EB9C4185024447017B076A6E789B0E975F5C1EE8F4F765FC3B9A64F0CD80A8333AA81AA40904B5D9CF19DD082D7633A078D18283394535A93AA81AA40904B5D98AA50765F7900637E39371FF05B6317BD81D268191BDAD3D698AB9A7B718F8C442539A7722CA490C13377AFFFEAFD26923F8577A6DFFEA7CA54E1600D0FEB00593EC92FD9297F6715571747095F342E857739F23D657EF2BD5E8D9A59859A8B626E28AE78BDC9D44089D37D7C0E48F6C5571747095F342E857739F23D657EF2B6825BDBE14D8E7028C9DFF55498CEFB0BD9CCCA9EDD067B1EDA766A37F9254B7 X-C1DE0DAB: C20DE7B7AB408E4181F030C43753B8186998911F362727C414F749A5E30D975CEC4A33FB89DC571C9694D91C87C74039024AC50577F115189C2B6934AE262D3EE7EAB7254005DCED556CBE7F905700A49510FB958DCE06DB6ED91DBE5ABE359ADBCB5631A0A9D21F1B2EFE7B39F7738393EDB24507CE13387DFF0A840B692CF8 X-C8649E89: 4E36BF7865823D7055A7F0CF078B5EC49A30900B95165D340EEB18E4918315714BFC37A78A37995C65D6906F17D5B847B204488DDC6A838389FC4EC2C0FC758F1D7E09C32AA3244C47F834BF48F23ABA43FC53FDCB722D96853296C06374E60283B48618A63566E0 X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2bioj5ZUBkD5pAd854Os84YIqzg== X-Mailru-Sender: 65CD03CFE33A0EC7A4D6F6B2DF798FE60C211C0914160BD7E634DBC52FD4B6D1F18609B7C082164AB08A37556DE0CB7BB7E364AFDB3F206FD953F29DB7D76D89B1E6F68DAE724AB9112434F685709FCF0DA7A0AF5A3A8387 X-Mras: Ok Subject: [Tarantool-patches] [PATCH 0/3] lua: fix tarantool -e always enters interactive mode 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: Artem Starshov via Tarantool-patches Reply-To: Artem Starshov Cc: tarantool-patches@dev.tarantool.org Errors-To: tarantool-patches-bounces@dev.tarantool.org Sender: "Tarantool-patches" 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