[LTP] [PATCH 1/6] tst_run.sh: Fix passing arguments
Li Wang
liwang@redhat.com
Tue Mar 17 08:36:57 CET 2026
On Fri, Mar 13, 2026 at 03:25:55PM +0100, Petr Vorel wrote:
> tst_run_script() in C API correctly sets environment, but it have to be
> also passed to the shell functions.
>
> Before:
>
> $ ./shell_loader_tcnt.sh
> ...
> shell_loader_tcnt.sh:-1: TPASS: Iteration
> shell_loader_tcnt.sh:-1: TPASS: Iteration
>
> After:
> shell_loader_tcnt.sh:-1: TPASS: Iteration 0
> shell_loader_tcnt.sh:-1: TPASS: Iteration 1
>
> Fixes: 8202494493 ("shell lib: Add basic support for test setup")
> Signed-off-by: Petr Vorel <pvorel@suse.cz>
Reviewed-by: Li Wang <liwang@redhat.com>
--
Regards,
Li Wang
More information about the ltp
mailing list