[LTP] [PATCH 1/3] tst_test.sh: Run cleanup also after test timeout
Petr Vorel
pvorel@suse.cz
Wed Apr 7 14:37:30 CEST 2021
> Hi!
> > _tst_cleanup_timer()
> > {
> > @@ -442,6 +442,26 @@ _tst_multiply_timeout()
> > return 0
> > }
> > +_tst_kill_test()
> > +{
> > + local i=10
> > +
> > + tst_res TBROK "Test timeouted, sending SIGTERM! If you are running on slow machine, try exporting LTP_TIMEOUT_MUL > 1"
> ^
> SIGINT?
Oops, thanks for noticing this.
Kind regards,
Petr
> > + kill -INT -$pid
> > + tst_sleep 100ms
> Other than that it looks good,
> Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
More information about the ltp
mailing list