tests: Update README files and add new README files where missing
[vlendec/samba-autobuild/.git] / ctdb / tests / run_tests.sh
1 #!/bin/sh
2
3 test_dir=$(dirname "$0")
4
5 if [ -n "$1" ] ; then
6     "${test_dir}/scripts/run_tests" -l -s "$@" || exit 1
7 else
8     cd "$test_dir"
9
10     # By default, run all unit tests and the tests against local
11     # daemons
12     dirs="onnode takeover tool eventscripts simple"
13
14     ./scripts/run_tests -l -s $dirs || exit 1
15 fi
16
17 echo "All OK"
18 exit 0