[LTP] [RFC PATCH 1/2] network/ipsec: Add trap to INT and require root

Cyril Hrubis chrubis@suse.cz
Mon Dec 11 13:23:17 CET 2017


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


More information about the ltp mailing list