git.samba.org
/
ctdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
eef162c
)
tests: CTDB_TEST_WRAPPER has to be an absolute path on a real cluster
author
Amitay Isaacs
<amitay@gmail.com>
Thu, 19 Apr 2012 05:33:46 +0000
(15:33 +1000)
committer
Martin Schwenke
<martin@meltin.net>
Fri, 27 Apr 2012 05:40:43 +0000
(15:40 +1000)
Signed-off-by: Amitay Isaacs <amitay@gmail.com>
tests/scripts/integration.bash
patch
|
blob
|
history
diff --git
a/tests/scripts/integration.bash
b/tests/scripts/integration.bash
index d38d08d81d24b60cf718c2844e5eda35497e6d9d..7355b46db8fe77fabdf0fa177ba5d6f2a8cb5797 100644
(file)
--- a/
tests/scripts/integration.bash
+++ b/
tests/scripts/integration.bash
@@
-24,7
+24,8
@@
export CTDB_TIMEOUT=60
if [ -n "$CTDB_TEST_REMOTE_DIR" ] ; then
CTDB_TEST_WRAPPER="${CTDB_TEST_REMOTE_DIR}/test_wrap"
else
- CTDB_TEST_WRAPPER="${TEST_SCRIPTS_DIR}/test_wrap"
+ _d=$(cd ${TEST_SCRIPTS_DIR}; echo $PWD)
+ CTDB_TEST_WRAPPER="$_d/test_wrap"
fi
export CTDB_TEST_WRAPPER