From 344e6eecb29a00bcdb3d18c62ac99d0b2a405257 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 15 May 2018 18:45:10 +1000 Subject: [PATCH] ctdb-tests: Create database directories for local daemons Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/simple/scripts/local_daemons.bash | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ctdb/tests/simple/scripts/local_daemons.bash b/ctdb/tests/simple/scripts/local_daemons.bash index e68ca226454e..17657069f13f 100644 --- 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/"* -- 2.34.1