Message ID | 20231031160918.17845-1-pvorel@suse.cz |
---|---|
State | Accepted |
Headers | show |
Series | [1/2] tst_test.sh: Print test command + params | expand |
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>
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 --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
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(+)