git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ff3d0e7
)
ctdb-tests: Add setup of ctdb.conf recovery lock setting
author
Martin Schwenke
<martin@meltin.net>
Wed, 2 May 2018 08:05:28 +0000
(18:05 +1000)
committer
Amitay Isaacs
<amitay@samba.org>
Thu, 17 May 2018 02:04:31 +0000
(
04:04
+0200)
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/eventscripts/scripts/01.reclock.sh
patch
|
blob
|
history
diff --git
a/ctdb/tests/eventscripts/scripts/01.reclock.sh
b/ctdb/tests/eventscripts/scripts/01.reclock.sh
index b6ab922d4bc35ece7309e7680c23c23e03f3613a..34f10a5a42a6ef80cfb5ea677447ca39b3ecab96 100644
(file)
--- a/
ctdb/tests/eventscripts/scripts/01.reclock.sh
+++ b/
ctdb/tests/eventscripts/scripts/01.reclock.sh
@@
-11,5
+11,10
@@
setup ()
{
export CTDB_RECOVERY_LOCK="${EVENTSCRIPTS_TESTS_VAR_DIR}/rec.lock"
+ cat >>"${CTDB_BASE}/ctdb.conf" <<EOF
+[cluster]
+ recovery lock = $CTDB_RECOVERY_LOCK
+EOF
+
test_cleanup cleanup_reclock
}