summaryrefslogtreecommitdiffstats
path: root/ctdb/tests/takeover
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2013-04-08 14:37:08 +1000
committerAmitay Isaacs <amitay@gmail.com>2013-05-24 22:31:21 +1000
commitb22dea5373267df3d3bbc9408cafc54a43411372 (patch)
treeb44d4954883cff702c03345df49703ca355c1d7a /ctdb/tests/takeover
parenta002c6ec1264b4bd4e600db0c914a6729b371556 (diff)
downloadsamba-b22dea5373267df3d3bbc9408cafc54a43411372.tar.gz
samba-b22dea5373267df3d3bbc9408cafc54a43411372.tar.xz
samba-b22dea5373267df3d3bbc9408cafc54a43411372.zip
tests/takeover: Allow takeover runs with differing IP allocations per node
Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 954ae6f84cb06a8dcbc12456d4752280072be5bf)
Diffstat (limited to 'ctdb/tests/takeover')
-rw-r--r--ctdb/tests/takeover/scripts/local.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/ctdb/tests/takeover/scripts/local.sh b/ctdb/tests/takeover/scripts/local.sh
index 66bb31c4a27..3b69d14fc92 100644
--- a/ctdb/tests/takeover/scripts/local.sh
+++ b/ctdb/tests/takeover/scripts/local.sh
@@ -20,8 +20,7 @@ simple_test ()
# Do some filtering of the output to replace date/time.
OUT_FILTER='s@^[^\]]*\]:@DATE\ TIME\ \[PID\]:@'
- _states="$1"
- _out=$($VALGRIND $test_prog $_states 2>&1)
+ _out=$($VALGRIND $test_prog "$@" 2>&1)
result_check "Algorithm: $CTDB_IP_ALGORITHM"
}