summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-06-24 23:49:57 +0200
committerGitHub <noreply@github.com>2019-06-24 23:49:57 +0200
commit394e12aa656ed3d9cc0afef48f1315fff5ed5db3 (patch)
tree0a8942ee153e22115cd637f8fafde9b514293e89 /test/e2e
parenta1a4a75abee2c381483a218e1660621ee416ef7c (diff)
parentc962d214e6156bd4d89e0eb20246549eca272ba7 (diff)
downloadpodman-394e12aa656ed3d9cc0afef48f1315fff5ed5db3.tar.gz
podman-394e12aa656ed3d9cc0afef48f1315fff5ed5db3.tar.bz2
podman-394e12aa656ed3d9cc0afef48f1315fff5ed5db3.zip
Merge pull request #3391 from QiWang19/cp_file
fix bug creats directory copying file
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/cp_test.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go
index f7596d77d..5e98e73eb 100644
--- a/test/e2e/cp_test.go
+++ b/test/e2e/cp_test.go
@@ -58,6 +58,10 @@ var _ = Describe("Podman cp", func() {
session = podmanTest.Podman([]string{"cp", name + ":foo", dstPath})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
+
+ session = podmanTest.Podman([]string{"start", name})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
})
It("podman cp file to dir", func() {