summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/takeover
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-11-15 12:22:05 +1100
committerMichael Adam <obnox@samba.org>2013-11-27 18:46:17 +0100
commit8ca117a68e525db57623ce529690b24c45afa1e3 (patch)
tree22eefc08a9e6a6c5c62ec9dd52aedc2dfa66bc8a /ctdb/tests/takeover
parent97554854439e83ebb9e99ce4ebb6e49de8e7a5a9 (diff)
downloadsamba-8ca117a68e525db57623ce529690b24c45afa1e3.tar.gz
samba-8ca117a68e525db57623ce529690b24c45afa1e3.tar.xz
samba-8ca117a68e525db57623ce529690b24c45afa1e3.zip
ctdb:tests: Rework unit test result filtering
Using a variable is too fragile, so use a function instead. Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'ctdb/tests/takeover')
-rw-r--r--ctdb/tests/takeover/scripts/local.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/ctdb/tests/takeover/scripts/local.sh b/ctdb/tests/takeover/scripts/local.sh
index 3b69d14fc9..b10d7461ee 100644
--- a/ctdb/tests/takeover/scripts/local.sh
+++ b/ctdb/tests/takeover/scripts/local.sh
@@ -17,9 +17,6 @@ define_test ()
simple_test ()
{
- # Do some filtering of the output to replace date/time.
- OUT_FILTER='s@^[^\]]*\]:@DATE\ TIME\ \[PID\]:@'
-
_out=$($VALGRIND $test_prog "$@" 2>&1)
result_check "Algorithm: $CTDB_IP_ALGORITHM"