diff options
author | Petr Vorel <pvorel@suse.cz> | 2023-10-31 17:09:17 +0100 |
---|---|---|
committer | Petr Vorel <pvorel@suse.cz> | 2024-01-21 20:59:03 +0100 |
commit | ec14c81d04eecca90684c37c66aad9560ad6a6f3 (patch) | |
tree | e4168f1d285d4cc7786e609fe35ed51152b8e918 | |
parent | 60ebbf3f6b9ba2110f2143447af8d6ca0f57f64b (diff) | |
download | ltp-ec14c81d04eecca90684c37c66aad9560ad6a6f3.tar.gz |
tst_test.sh: Print test command + params
To be more obvious what is being run
(test names in runtest files aren't always obvious).
Link: https://lore.kernel.org/ltp/20231031160918.17845-1-pvorel@suse.cz/
Reviewed-by: Cyril Hrubis <chrubis@suse.cz>
Signed-off-by: Petr Vorel <pvorel@suse.cz>
-rw-r--r-- | testcases/lib/tst_test.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testcases/lib/tst_test.sh b/testcases/lib/tst_test.sh index 98bc13b2c..05a920156 100644 --- a/testcases/lib/tst_test.sh +++ b/testcases/lib/tst_test.sh @@ -906,6 +906,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 |