libcli/auth: reject computer_name longer than 15 chars
[Samba.git] / ctdb / tests / scripts / test_wrap
blob176310e9a15de9c554e8a73542e6bf1401c8cb16
1 #!/bin/bash
3 # Execute the given command. The intention is that it is a function
4 # from "${TEST_SCRIPTS_DIR}/integration.bash".
6 PATH="$(dirname $0):${PATH}"
8 TEST_SCRIPTS_DIR=$(dirname $0)
10 # We need the test binaries (i.e. tests/bin/) to be in $PATH. If they
11 # aren't already in $PATH then we know that tests/bin/ sits alongside
12 # tests/scripts/.
13 f="ctdb_bench"
14 if [ ! $(which $f >/dev/null 2>&1) ] ; then
15 d=$(dirname "$TEST_SCRIPTS_DIR")/bin
16 [ -x "$d/$f" ] && PATH="$d:$PATH"
19 . "${TEST_SCRIPTS_DIR}/integration.bash"
21 "$@"