diff options
Diffstat (limited to 'test/e2e/save_test.go')
-rw-r--r-- | test/e2e/save_test.go | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/e2e/save_test.go b/test/e2e/save_test.go index 351e57bf5..7009d5648 100644 --- a/test/e2e/save_test.go +++ b/test/e2e/save_test.go @@ -93,4 +93,12 @@ var _ = Describe("Podman save", func() { Expect(save.ExitCode()).To(Equal(0)) }) + It("podman save bad filename", func() { + outdir := filepath.Join(podmanTest.TempDir, "save:colon") + + save := podmanTest.Podman([]string{"save", "--compress", "--format", "docker-dir", "-o", outdir, ALPINE}) + save.WaitWithDefaultTimeout() + Expect(save.ExitCode()).To(Not(Equal(0))) + }) + }) |