ctdb/tests/scripts: Simplify the top-level test scripts
[vlendec/samba-autobuild/.git] / ctdb / tests / run_tests.sh
1 #!/bin/sh
2
3 test_dir=$(dirname "$0")
4
5 case $(basename "$0") in
6     *run_cluster_tests*)
7         opts="-c"
8         ;;
9     *)
10         opts=""
11 esac
12
13 exec "${test_dir}/scripts/run_tests" $opts "$@"