From 85cc4efbff601dc25a351ec838de168eb3c7d29a Mon Sep 17 00:00:00 2001 From: Martin Schwenke Date: Tue, 12 Aug 2014 14:29:34 +1000 Subject: [PATCH] ctdb-test: Remove unused function check_ctdb_logfile() Signed-off-by: Martin Schwenke Reviewed-by: Amitay Isaacs --- ctdb/tests/eventscripts/scripts/local.sh | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ctdb/tests/eventscripts/scripts/local.sh b/ctdb/tests/eventscripts/scripts/local.sh index deaab601908..8f31154c021 100644 --- a/ctdb/tests/eventscripts/scripts/local.sh +++ b/ctdb/tests/eventscripts/scripts/local.sh @@ -1042,19 +1042,6 @@ simple_test_command () result_check } -check_ctdb_logfile () -{ - # If something has previously failed then don't continue. - : ${_passed:=true} - $_passed || return 1 - - echo "==================================================" - echo "Checking CTDB_LOGFILE=\"${CTDB_LOGFILE}\"" - _out=$(cat "$CTDB_LOGFILE" 2>&1) - - result_check -} - # Run an eventscript iteratively. # - 1st argument is the number of iterations. # - 2nd argument is something to eval to do setup for every iteration. -- 2.11.4.GIT