ctdb-tests: Drop setting of CTDB_SOCKET and CTDB_PIDFILE
authorMartin Schwenke <martin@meltin.net>
Thu, 10 May 2018 07:36:04 +0000 (17:36 +1000)
committerAmitay Isaacs <amitay@samba.org>
Tue, 6 Nov 2018 06:16:14 +0000 (07:16 +0100)
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 <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
ctdb/tests/simple/scripts/ssh_local_daemons.sh

index 84a5124eaeaac803175eb670dcc74cc9fa592a39..6defd99795b9250bd64a5f64a32b6d37ceedb449 100755 (executable)
@@ -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