Skip to content

Commit

Permalink
test: show criu logs on error
Browse files Browse the repository at this point in the history
Signed-off-by: Radostin Stoyanov <[email protected]>
  • Loading branch information
rst0git committed Jan 16, 2024
1 parent 8e8bb61 commit 0de6720
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ test-junit: test-imgs
test-imgs: piggie/piggie
$(eval PID := $(shell export TEST_ENV=BAR TEST_ENV_EMPTY=; piggie/piggie --tcp-socket))
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 $@
Expand Down

0 comments on commit 0de6720

Please sign in to comment.