summaryrefslogtreecommitdiff
path: root/test/e2e/start_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'test/e2e/start_test.go')
-rw-r--r--test/e2e/start_test.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/e2e/start_test.go b/test/e2e/start_test.go
index 64245c609..c4ed6f545 100644
--- a/test/e2e/start_test.go
+++ b/test/e2e/start_test.go
@@ -1,3 +1,5 @@
+// +build !remoteclient
+
package integration
import (
@@ -115,4 +117,14 @@ var _ = Describe("Podman start", func() {
numContainers := podmanTest.NumberOfContainers()
Expect(numContainers).To(Equal(1))
})
+
+ It("podman start --sig-proxy should not work without --attach", func() {
+ session := podmanTest.Podman([]string{"create", ALPINE, "ls"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(0))
+
+ session = podmanTest.Podman([]string{"start", "-l", "--sig-proxy"})
+ session.WaitWithDefaultTimeout()
+ Expect(session.ExitCode()).To(Equal(125))
+ })
})