summaryrefslogtreecommitdiff
path: root/test/e2e/image_scp_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-12 18:44:44 +0100
committerGitHub <noreply@github.com>2021-11-12 18:44:44 +0100
commit0aecacb8655d65cb55ec09a9629a358236e6af73 (patch)
tree522894bb626adc860bfcccd0718e301ca6ec24f3 /test/e2e/image_scp_test.go
parent07f5a94711f602ad625e6e82e5653502a7cdb7dc (diff)
parentac38eca3fdaa723a6c96fd2bcfa882d1ab2a09fb (diff)
downloadpodman-0aecacb8655d65cb55ec09a9629a358236e6af73.tar.gz
podman-0aecacb8655d65cb55ec09a9629a358236e6af73.tar.bz2
podman-0aecacb8655d65cb55ec09a9629a358236e6af73.zip
Merge pull request #12224 from cdoern/scp
Podman Image SCP transfer patch
Diffstat (limited to 'test/e2e/image_scp_test.go')
-rw-r--r--test/e2e/image_scp_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/image_scp_test.go b/test/e2e/image_scp_test.go
index acea2993d..3e7e8da48 100644
--- a/test/e2e/image_scp_test.go
+++ b/test/e2e/image_scp_test.go
@@ -78,6 +78,10 @@ var _ = Describe("podman image scp", func() {
list.WaitWithDefaultTimeout()
Expect(list).To(Exit(0))
Expect(list.LineInOutputStartsWith("quay.io/libpod/alpine")).To(BeTrue())
+
+ scp = podmanTest.PodmanAsUser([]string{"image", "scp", "root@localhost::" + ALPINE}, 0, 0, "", env) //transfer from root to rootless (us)
+ scp.WaitWithDefaultTimeout()
+ Expect(scp).To(Exit(0))
})
It("podman image scp bogus image", func() {