mirror of
https://github.com/samba-team/samba.git
synced 2025-03-09 08:58:35 +03:00
ctdb-tests: Extend test to cover ctdb rddumpmemory
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13923 Signed-off-by: Martin Schwenke <martin@meltin.net> Reviewed-by: Amitay Isaacs <amitay@gmail.com>
This commit is contained in:
parent
f78d9388fb
commit
8108b3134c
@ -28,8 +28,11 @@ set -e
|
|||||||
|
|
||||||
cluster_is_healthy
|
cluster_is_healthy
|
||||||
|
|
||||||
try_command_on_node -v 0 "$CTDB dumpmemory"
|
|
||||||
|
|
||||||
pat='^([[:space:]].+[[:space:]]+contains[[:space:]]+[[:digit:]]+ bytes in[[:space:]]+[[:digit:]]+ blocks \(ref [[:digit:]]+\)[[:space:]]+0x[[:xdigit:]]+|[[:space:]]+reference to: .+|full talloc report on .+ \(total[[:space:]]+[[:digit:]]+ bytes in [[:digit:]]+ blocks\))$'
|
pat='^([[:space:]].+[[:space:]]+contains[[:space:]]+[[:digit:]]+ bytes in[[:space:]]+[[:digit:]]+ blocks \(ref [[:digit:]]+\)[[:space:]]+0x[[:xdigit:]]+|[[:space:]]+reference to: .+|full talloc report on .+ \(total[[:space:]]+[[:digit:]]+ bytes in [[:digit:]]+ blocks\))$'
|
||||||
|
|
||||||
|
try_command_on_node -v 0 "$CTDB dumpmemory"
|
||||||
|
sanity_check_output 10 "$pat" "$out"
|
||||||
|
|
||||||
|
echo
|
||||||
|
try_command_on_node -v 0 "$CTDB rddumpmemory"
|
||||||
sanity_check_output 10 "$pat" "$out"
|
sanity_check_output 10 "$pat" "$out"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user