From fc0687eda9076439ec456bf477089164559fd509 Mon Sep 17 00:00:00 2001 From: Radostin Stoyanov Date: Thu, 11 Jan 2024 11:26:08 +0000 Subject: [PATCH] test: show criu logs on error Signed-off-by: Radostin Stoyanov --- test/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Makefile b/test/Makefile index 9943e680..46292010 100644 --- a/test/Makefile +++ b/test/Makefile @@ -14,7 +14,7 @@ test-junit: test-imgs test-imgs: piggie/piggie $(eval PID := $(shell export TEST_ENV=BAR TEST_ENV_EMPTY=; piggie/piggie)) mkdir -p $@ - $(CRIU) dump --tcp-established -v4 -o dump.log -D $@ -t $(PID) + $(CRIU) dump --tcp-established -v4 -o dump.log -D $@ -t $(PID) || cat $@/dump.log piggie/piggie: piggie/piggie.c $(CC) $^ -o $@