diff mbox series

[1/2] tst_test.sh: Print test command + params

Message ID 20231031160918.17845-1-pvorel@suse.cz
State Accepted
Headers show
Series [1/2] tst_test.sh: Print test command + params | expand

Commit Message

Petr Vorel Oct. 31, 2023, 4:09 p.m. UTC
To be more obvious what is being run
(test names in runtest files aren't always obvious).

Signed-off-by: Petr Vorel <pvorel@suse.cz>
---
 testcases/lib/tst_test.sh | 2 ++
 1 file changed, 2 insertions(+)

Comments

Cyril Hrubis Jan. 19, 2024, 4:31 p.m. UTC | #1
Hi!
> +	tst_res TINFO "Running: $(basename $0) $TST_ARGS"

If you think that it's important I suppose this is probably safe enough
for the release.

Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Petr Vorel Jan. 21, 2024, 7:59 p.m. UTC | #2
Hi Cyril,

> Hi!
> > +	tst_res TINFO "Running: $(basename $0) $TST_ARGS"

> If you think that it's important I suppose this is probably safe enough
> for the release.

Thanks, merged!

Kind regards,
Petr
diff mbox series

Patch

diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh
index b5b38f524..95ebdda9d 100644
--- a/testcases/lib/tst_test.sh
+++ b/testcases/lib/tst_test.sh
@@ -898,6 +898,8 @@  if [ -z "$TST_NO_DEFAULT_RUN" ]; then
 
 	TST_ARGS="$@"
 
+	tst_res TINFO "Running: $(basename $0) $TST_ARGS"
+
 	OPTIND=1
 
 	while getopts ":hi:$TST_OPTS" _tst_name $TST_ARGS; do