diff options
author | Martin Schwenke <martin@meltin.net> | 2008-12-18 11:28:43 +1100 |
---|---|---|
committer | Martin Schwenke <martin@meltin.net> | 2008-12-18 11:28:43 +1100 |
commit | c572c11d3a55258786029ad1f14056ca05581afd (patch) | |
tree | 64cdc67a5d1215546edc4b548fe2d74b5509b7b9 /ctdb/tests/simple/14_ctdb_statistics.sh | |
parent | fae7e15114c7ac126446f2a46f42ebec1d10dfd2 (diff) | |
download | samba-c572c11d3a55258786029ad1f14056ca05581afd.tar.gz samba-c572c11d3a55258786029ad1f14056ca05581afd.tar.xz samba-c572c11d3a55258786029ad1f14056ca05581afd.zip |
Remove bench.sh test and replace with new test 51_ctdb_bench.sh.
Function try_command_on_node node passes any options other than -v to
onnode. Minor update to 14_ctdb_statistics.sh.
Signed-off-by: Martin Schwenke <martin@meltin.net>
(This used to be ctdb commit e627f8e5fe8e2e3ea423b7dbd12d74597fb4983b)
Diffstat (limited to 'ctdb/tests/simple/14_ctdb_statistics.sh')
-rwxr-xr-x | ctdb/tests/simple/14_ctdb_statistics.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ctdb/tests/simple/14_ctdb_statistics.sh b/ctdb/tests/simple/14_ctdb_statistics.sh index 8ad08465a08..74046cb7e53 100755 --- a/ctdb/tests/simple/14_ctdb_statistics.sh +++ b/ctdb/tests/simple/14_ctdb_statistics.sh @@ -37,10 +37,10 @@ pattern='^(CTDB version 1|Gathered statistics for [[:digit:]]+ nodes|[[:space:]] try_command_on_node -v 0 "onnode -q 1 ctdb statistics" -sanity_check_output 38 $num_nodes "$pattern" "$out" +sanity_check_output 38 "$pattern" "$out" try_command_on_node -v 0 "onnode -q 1 ctdb statistics -n all" -sanity_check_output 38 $num_nodes "$pattern" "$out" +sanity_check_output 38 "$pattern" "$out" ctdb_test_exit |