1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
samba-mirror/ctdb/tests/run_tests.sh
Andrew Tridgell bf32a8e6c3 cleanup on SIGINT
(This used to be ctdb commit 008533d971aec9c28c6e4750ef4677dd943633ff)
2008-07-30 13:21:02 +10:00

11 lines
178 B
Bash
Executable File

#!/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
echo "All OK"
exit 0