summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/onnode/scripts
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-04-24 14:02:28 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:42:42 +1000
commitcb0995906327bf137b9ae402ef25e5b7e6bfd59e (patch)
treed26dee754a5d22661dc6a85ea848ef06fb25d389 /ctdb/tests/onnode/scripts
parentb7b6f10e9be4a610866b3aee10491e3292ba09df (diff)
downloadsamba-cb0995906327bf137b9ae402ef25e5b7e6bfd59e.tar.gz
samba-cb0995906327bf137b9ae402ef25e5b7e6bfd59e.tar.xz
samba-cb0995906327bf137b9ae402ef25e5b7e6bfd59e.zip
tests: Unit tests should use $TEST_VAR_DIR
This directory is already guaranteed to be absolute, so no check is needed. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 78f6f209eb15102f4e8baa9106583df0ef4bb693)
Diffstat (limited to 'ctdb/tests/onnode/scripts')
-rw-r--r--ctdb/tests/onnode/scripts/local.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/tests/onnode/scripts/local.sh b/ctdb/tests/onnode/scripts/local.sh
index 35fd013540f..9973a555633 100644
--- a/ctdb/tests/onnode/scripts/local.sh
+++ b/ctdb/tests/onnode/scripts/local.sh
@@ -23,7 +23,7 @@ fi
export CTDB_NODES_FILE
-export ONNODE_TESTS_VAR_DIR="${TEST_SUBDIR}/var"
+export ONNODE_TESTS_VAR_DIR="${TEST_VAR_DIR}/unit_onnode"
mkdir -p "$ONNODE_TESTS_VAR_DIR"
if [ -z "$CTDB_BASE" ] ; then