git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18ecdbf
)
ctdb-tests: Switch tool unit tests to use CTDB_TEST_TMP_DIR
author
Martin Schwenke
<martin@meltin.net>
Fri, 6 Sep 2019 11:35:16 +0000
(21:35 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Tue, 24 Sep 2019 02:27:30 +0000
(
02:27
+0000)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/tool/scripts/local.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/tool/scripts/local.sh
b/ctdb/tests/tool/scripts/local.sh
index 9b2750e62e2cf4640d931e37b535246f59bd418d..61313504f119cb27f8f6fff0cba27bda22ad996e 100644
(file)
--- a/
ctdb/tests/tool/scripts/local.sh
+++ b/
ctdb/tests/tool/scripts/local.sh
@@
-1,11
+1,9
@@
# Hey Emacs, this is a -*- shell-script -*- !!! :-)
-[ -n "$TEST_VAR_DIR" ] || die "TEST_VAR_DIR unset"
-
PATH="${PATH}:${CTDB_SCRIPTS_TOOLS_HELPER_DIR}"
PATH="${PATH}:${CTDB_SCRIPTS_HELPER_BINDIR}"
-setup_ctdb_base "$
TEST_VAR_DIR" "unit_tool
" \
+setup_ctdb_base "$
CTDB_TEST_TMP_DIR" "ctdb-etc
" \
functions
if "$TEST_VERBOSE" ; then