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

Petr Vorel pvorel@suse.cz
Wed May 2 16:45:43 CEST 2018


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.

Kind regards,
Petr


More information about the ltp mailing list