From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cyril Hrubis Date: Mon, 11 Dec 2017 13:23:17 +0100 Subject: [LTP] [RFC PATCH 1/2] network/ipsec: Add trap to INT and require root In-Reply-To: <20171207121819.rojckr2gxgwng2aj@dell5510> References: <20171206144214.27317-1-pvorel@suse.cz> <91d018e3-744f-ec0d-114a-05871d3a1205@oracle.com> <20171207121819.rojckr2gxgwng2aj@dell5510> Message-ID: <20171211122317.GA7605@rei> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi! > > > +trap "tst_brkm TBROK 'test interrupted'" INT > > > Could we add it to test_net.sh? > Sure. I was even thinking about giving it into test_net.sh and test.sh (i.e. making it the > default settings), but that's maybe too aggressive. Unless we find a test that traps INT in order to attempt to cleanup doing tst_brkm on INT in test library is IMHO okay. -- Cyril Hrubis chrubis@suse.cz