mirror of
https://github.com/samba-team/samba.git
synced 2025-02-01 05:47:28 +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> (cherry picked from commit 8108b3134c017c22d245fc5b2207a88d44ab0dd2)
This commit is contained in:
parent
08e229df43
commit
30b5d837d5
@ -28,8 +28,11 @@ set -e
|
||||
|
||||
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\))$'
|
||||
|
||||
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user