[LTP] [RFC PATCH 1/1] tst_test.sh: TCONF on basename error when setting TST_ID
Petr Vorel
pvorel@suse.cz
Fri Jun 1 11:48:03 CEST 2018
Hi,
> On Wed, May 2, 2018 at 10:45 PM, Petr Vorel <pvorel@suse.cz> wrote:
> > ...
> > > if [ -z "$TST_ID" ]; then
> > > - filename=$(basename $0)
> > > + filename=$(basename $0) || \
> > > + tst_brk TBROK "Failed to set TST_ID from \$0 ('$0'), fix
> > it with setting TST_ID before sourcing tst_test.sh"
> > ^
> > Here is going to be TCONF.
> Looks good to me.
Pushed.
Li, thanks for your review.
Kind regards,
Petr
More information about the ltp
mailing list