summaryrefslogtreecommitdiff
path: root/ctdb
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2018-02-27 12:13:37 +1100
committerMartin Schwenke <martins@samba.org>2018-03-01 19:39:15 +0100
commit53fea36b6e2dd8b44bbe6e011208cabfd21d1a58 (patch)
tree957a36bf075f391a7d32ca84c7d5f004db69d115 /ctdb
parentd1ff94686ab7541827f9b8e0e40899d5cf5a4c83 (diff)
downloadsamba-53fea36b6e2dd8b44bbe6e011208cabfd21d1a58.tar.gz
ctdb-tests: Use fake ssh script for onnode in local daemons tests
Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
Diffstat (limited to 'ctdb')
-rw-r--r--ctdb/tests/simple/scripts/local_daemons.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/ctdb/tests/simple/scripts/local_daemons.bash b/ctdb/tests/simple/scripts/local_daemons.bash
index 512d11fb253..e89f1ffe7cc 100644
--- a/ctdb/tests/simple/scripts/local_daemons.bash
+++ b/ctdb/tests/simple/scripts/local_daemons.bash
@@ -23,6 +23,9 @@ if [ -n "$TEST_SOCKET_WRAPPER_SO_PATH" ] ; then
mkdir -p "$SOCKET_WRAPPER_DIR"
fi
+# onnode will execute this, which fakes ssh against local daemons
+export ONNODE_SSH="${TEST_SUBDIR}/scripts/ssh_local_daemons.sh"
+
#######################################
config_from_environment ()