git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
31747da
)
ctdb-tests: Create database directories for local daemons
author
Martin Schwenke
<martin@meltin.net>
Tue, 15 May 2018 08:45:10 +0000
(18:45 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Thu, 17 May 2018 02:04:30 +0000
(
04:04
+0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/simple/scripts/local_daemons.bash
patch
|
blob
|
history
diff --git
a/ctdb/tests/simple/scripts/local_daemons.bash
b/ctdb/tests/simple/scripts/local_daemons.bash
index e68ca226454e154c6f398259197f4d06a00a696e..17657069f13fd303316c09ff98686c47d30094d3 100644
(file)
--- a/
ctdb/tests/simple/scripts/local_daemons.bash
+++ b/
ctdb/tests/simple/scripts/local_daemons.bash
@@
-131,6
+131,10
@@
setup_ctdb ()
local node_ip=$(sed -n -e "$(($pnn + 1))p" "$nodes_file")
local db_dir="${CTDB_BASE}/db"
+ local d
+ for d in "volatile" "persistent" "state" ; do
+ mkdir -p "${db_dir}/${d}"
+ done
if $no_event_scripts ; then
rm -vf "${CTDB_BASE}/events.d/"*