summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmitay Isaacs <amitay@gmail.com>2012-04-19 15:40:53 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:40:43 +1000
commit2f2e341370640713ff9cb707b6a84ae78109e84e (patch)
treef9b77bbc61b3cec1a563bf21b9d7566e197dc3f8
parent2503cb2259da47cb97d7e3352ad8c82e6c299d08 (diff)
downloadsamba-2f2e341370640713ff9cb707b6a84ae78109e84e.tar.gz
samba-2f2e341370640713ff9cb707b6a84ae78109e84e.tar.xz
samba-2f2e341370640713ff9cb707b6a84ae78109e84e.zip
tests: test_wrap needs to set TEST_SCRIPTS_DIR
Signed-off-by: Amitay Isaacs <amitay@gmail.com> (This used to be ctdb commit 79e979d67e3a2a5a13ef8fd2ef8f56331ec51558)
-rwxr-xr-xctdb/tests/scripts/test_wrap2
1 files changed, 2 insertions, 0 deletions
diff --git a/ctdb/tests/scripts/test_wrap b/ctdb/tests/scripts/test_wrap
index df12e4b731..d5085fda81 100755
--- a/ctdb/tests/scripts/test_wrap
+++ b/ctdb/tests/scripts/test_wrap
@@ -5,6 +5,8 @@
PATH="$(dirname $0):${PATH}"
+TEST_SCRIPTS_DIR=$(dirname $0)
+
f="ctdb_bench"
if [ ! $(which $f >/dev/null 2>&1) ] ; then
d=$(dirname $(dirname $0))/bin