[LTP] [PATCH 2/2] tst_test.sh: Warn about setup/cleanup function not loaded

Joerg Vehlow lkml@jv-coder.de
Tue May 19 07:10:51 CEST 2020


Hi Petr,

this looks good, just one small typo. And I guess I would raise this to 
TBROK, but that
is just my personal preference :)

Am 18.05.2020 um 15:01 schrieb Petr Vorel:
> +		if type "$TST_CLEANUP" >/dev/null 2>&1; then
> +			$TST_CLEANUP
> +		else
> +			tst_res TWARN "cleanup function set (TST_SETUP='$TST_CLEANUP'), but not found (test bug)"
This should probably be TST_CLEANUP=....


Jörg


More information about the ltp mailing list