From: Martin Schwenke Date: Tue, 13 Mar 2018 05:43:44 +0000 (+1100) Subject: ctdb-tests: Drop unused functions X-Git-Tag: talloc-2.1.12~96 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02a942ea473cd68099e07a04e6f17f4b4d92f620;p=thirdparty%2Fsamba.git ctdb-tests: Drop unused functions Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- diff --git a/ctdb/tests/simple/scripts/local_daemons.bash b/ctdb/tests/simple/scripts/local_daemons.bash index 43ed8d5fa87..fa949ee3163 100644 --- a/ctdb/tests/simple/scripts/local_daemons.bash +++ b/ctdb/tests/simple/scripts/local_daemons.bash @@ -41,37 +41,6 @@ have_ip () [ -n "$t" ] } -node_dir () -{ - local pnn="$1" - - echo "${SIMPLE_TESTS_VAR_DIR}/node.${pnn}" -} - -node_conf () -{ - local pnn="$1" - - local node_dir=$(node_dir "$pnn") - echo "${node_dir}/ctdbd.conf" -} - -node_pidfile () -{ - local pnn="$1" - - local node_dir=$(node_dir "$pnn") - echo "${node_dir}/ctdbd.pid" -} - -node_socket () -{ - local pnn="$1" - - local node_dir=$(node_dir "$pnn") - echo "${node_dir}/ctdbd.socket" -} - setup_nodes () { local have_all_ips=true