summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2019-06-20 17:43:40 -0400
committerQi Wang <qiwan@redhat.com>2019-06-20 17:52:12 -0400
commitc962d214e6156bd4d89e0eb20246549eca272ba7 (patch)
treee3de4fb063f97d789229207544643edcae94ea99 /test
parentf65ddc09914050275eb8ddc0b8f805d2cdd3be46 (diff)
downloadpodman-c962d214e6156bd4d89e0eb20246549eca272ba7.tar.gz
podman-c962d214e6156bd4d89e0eb20246549eca272ba7.tar.bz2
podman-c962d214e6156bd4d89e0eb20246549eca272ba7.zip
fix bug creats directory copying file
close #3384 Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'test')
-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() {