summaryrefslogtreecommitdiff
path: root/test/e2e/cp_test.go
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-05-29 18:08:05 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-05-29 22:53:51 -0400
commitf456825fe8783d84e23a5cd291c637b3c3ed53dd (patch)
tree136742a8c8ab21a0bdff7b48bfbe155a13a34e82 /test/e2e/cp_test.go
parent79990b7364310d256e4dbaf7adc2b451adda854f (diff)
downloadpodman-f456825fe8783d84e23a5cd291c637b3c3ed53dd.tar.gz
podman-f456825fe8783d84e23a5cd291c637b3c3ed53dd.tar.bz2
podman-f456825fe8783d84e23a5cd291c637b3c3ed53dd.zip
Fix bug in e2e tests for podman cp
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
Diffstat (limited to 'test/e2e/cp_test.go')
-rw-r--r--test/e2e/cp_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/e2e/cp_test.go b/test/e2e/cp_test.go
index 529e01c99..e08d05eae 100644
--- a/test/e2e/cp_test.go
+++ b/test/e2e/cp_test.go
@@ -165,7 +165,7 @@ var _ = Describe("Podman cp", func() {
err := ioutil.WriteFile(srcPath, fromHostToContainer, 0644)
Expect(err).To(BeNil())
- session := podmanTest.Podman([]string{"create", ALPINE, "cat", "foo"})
+ session := podmanTest.Podman([]string{"run", "-d", ALPINE, "top"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
name := session.OutputToString()