From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp32.i.mail.ru (smtp32.i.mail.ru [94.100.177.92]) (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 E84C44696C3 for ; Fri, 17 Apr 2020 09:55:54 +0300 (MSK) Date: Fri, 17 Apr 2020 09:55:54 +0300 From: Kirill Yukhin Message-ID: <20200417065554.ai2pj4n3v5lfbdq7@tarantool.org> References: <20200411231034.95903-1-roman.habibov@tarantool.org> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200411231034.95903-1-roman.habibov@tarantool.org> Subject: Re: [Tarantool-patches] [PATCH] console: check on_shutdown() before exit List-Id: Tarantool development patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Roman Khabibov Cc: tarantool-patches@dev.tarantool.org Hello, On 12 апр 02:10, Roman Khabibov wrote: > Add check that on_shutdown() triggers were called before exit, > because in case of EOF or Ctrl+D (no signals) they were ignored. > > Closes #4703 > --- > src/main.cc | 6 +++++ > test/box/on_shutdown.result | 42 +++++++++++++++++++++++++++++++++++ Please extract the testcase into separate file. -- Regards, Kirill Yukhin