2
0
mirror of https://github.com/checkpoint-restore/criu synced 2025-08-31 14:25:49 +00:00

ci: add test for crit info

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
This commit is contained in:
Radostin Stoyanov
2023-02-23 16:39:13 +00:00
committed by Andrei Vagin
parent 9b919ab748
commit 11c71656bd

View File

@@ -53,6 +53,9 @@ function run_test2 {
# prepare
${CRIT} decode -i "${PROTO_IN}" -o "${JSON_IN}"
# show info about image
${CRIT} info "${PROTO_IN}"
# proto in - json out decode
cat "${PROTO_IN}" | ${CRIT} decode || exit 1
cat "${PROTO_IN}" | ${CRIT} decode -o "${OUT}" || exit 1