projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
t/zbd: show elapsed time in test-zbd-support
[fio.git]
/
t
/
zbd
/
test-zbd-support
diff --git
a/t/zbd/test-zbd-support
b/t/zbd/test-zbd-support
index 0230f1af0fbb437ca2a593654f1e120331b66728..f94279812a437913c771888b475ccffa115f2a40 100755
(executable)
--- 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