[LTP] [RFC PATCH 1/1] tst_test.sh: TCONF on basename error when setting TST_ID

Li Wang liwang@redhat.com
Thu May 3 09:54:18 CEST 2018


On Wed, May 2, 2018 at 10:45 PM, Petr Vorel <pvorel@suse.cz> wrote:

> Hi,
>
> ...
> >  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.


-- 
Li Wang
liwang@redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linux.it/pipermail/ltp/attachments/20180503/b5d560ac/attachment.html>


More information about the ltp mailing list