diff --git a/tests/integration/checkpoint.bats b/tests/integration/checkpoint.bats index c4620ea1d..07023b34f 100644 --- a/tests/integration/checkpoint.bats +++ b/tests/integration/checkpoint.bats @@ -185,8 +185,8 @@ function simple_cr() { exec {lazy_w}>&- # shellcheck disable=SC2116,SC2086 out=$(echo $out) # rm newlines - # show log in case something is wrong before we fail - cat ./work-dir/dump.log + # show errors if there are any before we fail + grep -B5 Error ./work-dir/dump.log || true # expecting \0 which od prints as [ "$out" = "0000000 000000 0000001" ]