ctdb-tests: Move test status interpretation to ctdb_test_run()
authorMartin Schwenke <martin@meltin.net>
Mon, 9 Sep 2019 10:57:42 +0000 (20:57 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Oct 2019 09:41:28 +0000 (09:41 +0000)
commit55dd0f047f58f9be2d1a317dfcbebe18e22201a0
tree39271e4fe68ab3082911500de5b2cfc727fc245d
parent47c9b79262ee4101d29c977d98933bfcf22f7426
ctdb-tests: Move test status interpretation to ctdb_test_run()

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

Simplify ctdb_test_end() accordingly, reindenting because nearly all
lines are modified.

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