diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/podman_save.bats | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/podman_save.bats b/test/podman_save.bats index 9c6fa8b86..5adfb8fea 100644 --- a/test/podman_save.bats +++ b/test/podman_save.bats @@ -43,16 +43,28 @@ function setup() { [ "$status" -ne 0 ] } -@test "podman save to directory wit oci format" { +@test "podman save to directory with oci format" { run ${PODMAN_BINARY} ${PODMAN_OPTIONS} save --format oci-dir -o alp-dir $ALPINE echo "$output" [ "$status" -eq 0 ] rm -rf alp-dir } -@test "podman save to directory wit v2s2 (docker) format" { +@test "podman save to directory with v2s2 (docker) format" { run ${PODMAN_BINARY} ${PODMAN_OPTIONS} save --format docker-dir -o alp-dir $ALPINE echo "$output" [ "$status" -eq 0 ] rm -rf alp-dir } + +@test "podman save to directory with compression" { + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} save --compress --format docker-dir -o alp-dir $ALPINE + echo "$output" + [ "$status" -eq 0 ] + rm -rf alp-dir + + run ${PODMAN_BINARY} ${PODMAN_OPTIONS} save --format docker-dir --compress -o alp-dir $ALPINE + echo "$output" + [ "$status" -eq 0 ] + rm -rf alp-dir +} |