summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2019-03-07 15:53:31 +1100
committerAmitay Isaacs <amitay@samba.org>2019-03-15 05:17:13 +0000
commita215d2017f95974913a7e97c25e5fc613bb79c26 (patch)
tree1178bdb76e28e111718f9aa6b70ed84ae670776b /ctdb
parenta2c5f8cf41c2dfdc4f122e8427d1dfeabb6ba311 (diff)
downloadsamba-a215d2017f95974913a7e97c25e5fc613bb79c26.tar.gz
ctdb-tests: Build cluster mutex path manually
CTDB_CLUSTER_MUTEX_HELPER can't be depended on because it is only set when the tests are not installed and setting it unconditionally for this particular use would be wrong. BUG: https://bugzilla.samba.org/show_bug.cgi?id=13800 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@samba.org>
Diffstat (limited to 'ctdb')
-rwxr-xr-xctdb/tests/local_daemons.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/ctdb/tests/local_daemons.sh b/ctdb/tests/local_daemons.sh
index 07cf1e9b135..3c3897feb50 100755
--- a/ctdb/tests/local_daemons.sh
+++ b/ctdb/tests/local_daemons.sh
@@ -193,7 +193,8 @@ local_daemons_setup ()
_recovery_lock="${directory}/rec.lock"
if $_recovery_lock_use_command ; then
- _recovery_lock="! ${CTDB_CLUSTER_MUTEX_HELPER} ${_recovery_lock}"
+ _helper="${CTDB_SCRIPTS_HELPER_BINDIR}/ctdb_mutex_fcntl_helper"
+ _recovery_lock="! ${_helper} ${_recovery_lock}"
fi
if [ -n "$_socket_wrapper" ] ; then