diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-09-22 15:18:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-22 15:18:41 +0200 |
commit | 828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f (patch) | |
tree | 76828348bec0fe4c58d8129cd635370ea0501e7a /test/e2e | |
parent | a49aa135af3b9af368cee861d2ef2884f54893f6 (diff) | |
parent | 33c31112fb44da455b8841b73a92980a07f42720 (diff) | |
download | podman-828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f.tar.gz podman-828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f.tar.bz2 podman-828fae12971c5a7b9807c8c4f8e029fe5d0ddc2f.zip |
Merge pull request #15870 from idleroamer/podman-save
podman-save: Add signature-policy flag
Diffstat (limited to 'test/e2e')
-rw-r--r-- | test/e2e/save_test.go | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/test/e2e/save_test.go b/test/e2e/save_test.go index f6a06d0ff..db353c036 100644 --- a/test/e2e/save_test.go +++ b/test/e2e/save_test.go @@ -45,6 +45,15 @@ var _ = Describe("Podman save", func() { Expect(save).Should(Exit(0)) }) + It("podman save signature-policy flag", func() { + SkipIfRemote("--signature-policy N/A for remote") + outfile := filepath.Join(podmanTest.TempDir, "alpine.tar") + + save := podmanTest.Podman([]string{"save", "--signature-policy", "/etc/containers/policy.json", "-o", outfile, ALPINE}) + save.WaitWithDefaultTimeout() + Expect(save).Should(Exit(0)) + }) + It("podman save oci flag", func() { outfile := filepath.Join(podmanTest.TempDir, "alpine.tar") |