ctdb-tests: Improve signal handling trap
authorMartin Schwenke <martin@meltin.net>
Mon, 8 Oct 2018 02:39:30 +0000 (13:39 +1100)
committerAmitay Isaacs <amitay@samba.org>
Tue, 6 Nov 2018 06:16:16 +0000 (07:16 +0100)
commitaa2ee4bea8d87f7095c97622b1382ef27e9105fb
tree2f8017580d0ce9a308806c69124609ab0280981a
parent92337234e5ebe06397e34861b10cda5dfc5b7ed5
ctdb-tests: Improve signal handling trap

Interrupting a test run currently moves on to the next test.  It
should exit.

Follow the practice of exiting with 128 + signal number.

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