This script may take quite a lot of time to run against large zoned HDDs. At the end of every run, show exactly how much time it took. Signed-off-by: Dmitry Fomichev <dmitry.fomichev@xxxxxxx> --- t/zbd/test-zbd-support | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/zbd/test-zbd-support b/t/zbd/test-zbd-support index 94c92e26..c1ee52ed 100755 --- a/t/zbd/test-zbd-support +++ b/t/zbd/test-zbd-support @@ -1153,6 +1153,7 @@ test54() { >> "${logfile}.${test_number}" 2>&1 || return $? } +SECONDS=0 tests=() dynamic_analyzer=() reset_all_zones= @@ -1346,4 +1347,5 @@ fi if [ $failed -gt 0 ]; then echo " $failed tests failed" fi +echo "Run time: $(TZ=UTC0 printf "%(%H:%M:%S)T\n" $(( SECONDS )) )" exit $rc -- 2.28.0