ctdb-tests: Move test duration calculation to ctdb_test_run()
authorMartin Schwenke <martin@meltin.net>
Tue, 10 Sep 2019 00:51:31 +0000 (10:51 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Oct 2019 09:41:29 +0000 (09:41 +0000)
commit435d903ad84e72e8223ae53ca46bb47c1cfe1293
tree9b3fd4e1687a5b0dea1c0459e70ec288c9c8d396
parent23982477f3d486815974edce08a247d7280c9578
ctdb-tests: Move test duration calculation to ctdb_test_run()

It makes sense to do this in one place in case other headers/footers
are added.

Reindent ctdb_test_begin() while touching this function.

Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/run_tests.sh