diff options
author | Andrew Tridgell <tridge@samba.org> | 2008-07-30 13:21:02 +1000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2008-07-30 13:21:02 +1000 |
commit | bf32a8e6c3d769624c6a0be65d7756a367555c93 (patch) | |
tree | 1468483e4775e16591f1879e5008b01560beeab7 /ctdb/tests/run_tests.sh | |
parent | b7e9d0dccf0e3e252b10f8315110795814bf6be5 (diff) | |
download | samba-bf32a8e6c3d769624c6a0be65d7756a367555c93.tar.gz samba-bf32a8e6c3d769624c6a0be65d7756a367555c93.tar.xz samba-bf32a8e6c3d769624c6a0be65d7756a367555c93.zip |
cleanup on SIGINT
(This used to be ctdb commit 008533d971aec9c28c6e4750ef4677dd943633ff)
Diffstat (limited to 'ctdb/tests/run_tests.sh')
-rwxr-xr-x | ctdb/tests/run_tests.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/tests/run_tests.sh b/ctdb/tests/run_tests.sh index 356a9b21a0..3e1caf43a2 100755 --- a/ctdb/tests/run_tests.sh +++ b/ctdb/tests/run_tests.sh @@ -1,5 +1,7 @@ #!/bin/sh +trap 'echo "Killing test"; killall -9 -q ctdbd; exit 1' INT TERM + tests/fetch.sh 4 || exit 1 tests/bench.sh 4 || exit 1 tests/ctdbd.sh || exit 1 |