diff --git a/ctdb/tests/simple/25_dumpmemory.sh b/ctdb/tests/simple/25_dumpmemory.sh index 4d6cc83d5ee..36fecfed016 100755 --- a/ctdb/tests/simple/25_dumpmemory.sh +++ b/ctdb/tests/simple/25_dumpmemory.sh @@ -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"