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>
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"