summaryrefslogtreecommitdiff
path: root/test/e2e/init_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/init_test.go')
-rw-r--r--test/e2e/init_test.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/e2e/init_test.go b/test/e2e/init_test.go
index 919fe4abf..721017d0c 100644
--- a/test/e2e/init_test.go
+++ b/test/e2e/init_test.go
@@ -75,6 +75,7 @@ var _ = Describe("Podman init", func() {
})
It("podman init latest container", func() {
+ SkipIfRemote()
session := podmanTest.Podman([]string{"create", "-d", ALPINE, "ls"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
@@ -119,10 +120,10 @@ var _ = Describe("Podman init", func() {
})
It("podman init running container errors", func() {
- session := podmanTest.Podman([]string{"run", "-d", ALPINE, "top"})
+ session := podmanTest.Podman([]string{"run", "--name", "init_test", "-d", ALPINE, "top"})
session.WaitWithDefaultTimeout()
Expect(session.ExitCode()).To(Equal(0))
- init := podmanTest.Podman([]string{"init", "--latest"})
+ init := podmanTest.Podman([]string{"init", "init_test"})
init.WaitWithDefaultTimeout()
Expect(init.ExitCode()).To(Equal(125))
})