ctdb-tests: Add functions for terminating tests on failure, skip, error
authorMartin Schwenke <martin@meltin.net>
Tue, 17 Sep 2019 06:00:13 +0000 (16:00 +1000)
committerAmitay Isaacs <amitay@samba.org>
Fri, 4 Oct 2019 09:41:27 +0000 (09:41 +0000)
commit65ca431c95e53e8686c2887d8c8ddaf67999305b
tree0f857dacb829616b40e2501c470e6cc9d8c4af25
parent2c54f6df7164d6263624a1ed72485bf4e6690bb6
ctdb-tests: Add functions for terminating tests on failure, skip, error

This allows standard exit codes for failed and skipped tests, and test
errors.

Skipped tests currently just succeed and a test error is the same as a
failure.  These can be easily changed later when run_tests.sh is ready
to handle them.

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