diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/system/030-run.bats | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/test/system/030-run.bats b/test/system/030-run.bats index eeecea2e5..0f69c66c9 100644 --- a/test/system/030-run.bats +++ b/test/system/030-run.bats @@ -201,4 +201,17 @@ echo $rand | 0 | $rand "podman will not overwrite existing cidfile" } +@test "podman run docker-archive" { + tmpdir=$PODMAN_TMPDIR/run-archive + mkdir -p $tmpdir + archive=$tmpdir/archive.tar + + run_podman save $IMAGE -o $archive + + run_podman run docker-archive:$archive ls + + # Also make sure create eats the archive as well + run_podman create docker-archive:$archive ls +} + # vim: filetype=sh |