From 82e589e3883d861ae74c104d0226feed4593c47c Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Thu, 10 May 2018 17:36:04 +1000 Subject: [PATCH] ctdb-tests: Drop setting of CTDB_SOCKET and CTDB_PIDFILE The local daemons ssh stub doesn't need to do this because the ctdbd and the ctdb tool now only need CTDB_TEST_MODE and CTDB_BASE for local daemon tests. Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/simple/scripts/ssh_local_daemons.sh | 3 --- 1 file changed, 3 deletions(-) diff --git a/ctdb/tests/simple/scripts/ssh_local_daemons.sh b/ctdb/tests/simple/scripts/ssh_local_daemons.sh index 84a5124eaea..6defd99795b 100755 --- a/ctdb/tests/simple/scripts/ssh_local_daemons.sh +++ b/ctdb/tests/simple/scripts/ssh_local_daemons.sh @@ -41,9 +41,6 @@ if [ -z "$CTDB_BASE" ] ; then exit 1 fi -export CTDB_SOCKET="${CTDB_BASE}/run/ctdbd.socket" -export CTDB_PIDFILE="${CTDB_BASE}/run/ctdbd.pid" - if $close_stdin ; then exec sh -c "$command" <&- else -- 2.11.4.GIT