diff options
author | Martin Schwenke <martin@meltin.net> | 2014-08-12 14:29:34 +1000 |
---|---|---|
committer | Amitay Isaacs <amitay@samba.org> | 2014-10-28 05:42:04 +0100 |
commit | 85cc4efbff601dc25a351ec838de168eb3c7d29a (patch) | |
tree | 7b4644d59e2368ecf4a33b8f4c633e7c63e2bcd7 | |
parent | 96106e085a3a8bab51c8b14e85ba1a817d5fa55b (diff) | |
download | samba-85cc4efbff601dc25a351ec838de168eb3c7d29a.tar.gz |
ctdb-test: Remove unused function check_ctdb_logfile()
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Amitay Isaacs <amitay@gmail.com>
-rw-r--r-- | ctdb/tests/eventscripts/scripts/local.sh | 13 |
1 files changed, 0 insertions, 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. |