From fd443b8cce4dedfe9a72f25e955274f66da41290 Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 23 Aug 2016 10:20:51 +1000 Subject: [PATCH] ctdb-tests: Drop function _ctdb_hack_options() It does something special if the --start-as-stopped option is given and is not used in any tests. BUG: https://bugzilla.samba.org/show_bug.cgi?id=12170 Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/scripts/integration.bash | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/ctdb/tests/scripts/integration.bash b/ctdb/tests/scripts/integration.bash index 12deb753455..0f12c1f3020 100644 --- a/ctdb/tests/scripts/integration.bash +++ b/ctdb/tests/scripts/integration.bash @@ -524,20 +524,8 @@ wait_until_node_has_some_ips () ####################################### -_ctdb_hack_options () -{ - local ctdb_options="$*" - - case "$ctdb_options" in - *--start-as-stopped*) - export CTDB_START_AS_STOPPED="yes" - esac -} - restart_ctdb_1 () { - _ctdb_hack_options "$@" - if [ -e /etc/redhat-release ] ; then service ctdb restart else