From 62f1f0e499c372dbc830c23f99d80762931b41bb Mon Sep 17 00:00:00 2001 From: Kir Kolyshkin Date: Sun, 28 Mar 2021 11:17:23 -0700 Subject: [PATCH] tests/int/checkpoint: check all logs for errors This is to help debug issue #2805. Signed-off-by: Kir Kolyshkin --- tests/integration/checkpoint.bats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/checkpoint.bats b/tests/integration/checkpoint.bats index 07023b34f..1a58c2b64 100644 --- a/tests/integration/checkpoint.bats +++ b/tests/integration/checkpoint.bats @@ -77,8 +77,8 @@ function runc_restore_with_pipes() { echo "__runc restore $name failed (status: $ret)" exec {err_w}>&- cat <&${err_r} - echo "CRIU restore log errors (if any):" - grep -B 5 Error "$workdir"/restore.log || true + echo "CRIU log errors (if any):" + grep -B 5 Error "$workdir"/*.log ./image-dir/*.log || true fail "runc restore failed" fi