chore: add test for newline in digestfile

Signed-off-by: Anton <git@agrshv.dev>
This commit is contained in:
Anton 2025-06-10 13:59:26 +05:00
parent 1d00132307
commit 488dd582fb
No known key found for this signature in database
1 changed files with 1 additions and 0 deletions

View File

@ -78,6 +78,7 @@ load helpers
run_buildah push --digestfile=${TEST_SCRATCH_DIR}/digest.txt $WITH_POLICY_JSON $imageid dir:$mytmpdir
cat ${TEST_SCRATCH_DIR}/digest.txt
test -s ${TEST_SCRATCH_DIR}/digest.txt
test -z $(tail -c1 ${TEST_SCRATCH_DIR}/digest.txt)
}
@test "push without destination" {