summaryrefslogtreecommitdiff
path: root/test/e2e
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-01-08 09:04:17 -0800
committerGitHub <noreply@github.com>2019-01-08 09:04:17 -0800
commit757906189eabbc56a3b7e9723e9f72c3ccc654b0 (patch)
tree03b511bfb3b2b5871105f778ae570eb8e1e4a0f9 /test/e2e
parent9474b8cea239348d11c913b03b9461afaf663f0b (diff)
parente02199f2a401079375454acb639534c6f4f83c7f (diff)
downloadpodman-757906189eabbc56a3b7e9723e9f72c3ccc654b0.tar.gz
podman-757906189eabbc56a3b7e9723e9f72c3ccc654b0.tar.bz2
podman-757906189eabbc56a3b7e9723e9f72c3ccc654b0.zip
Merge pull request #2094 from debarshiray/wip/debarshiray/podman-start-sig-proxy-default-doc
Mention the default --sig-proxy value for 'podman start'
Diffstat (limited to 'test/e2e')
-rw-r--r--test/e2e/start_test.go10
1 files changed, 10 insertions, 0 deletions
diff --git a/test/e2e/start_test.go b/test/e2e/start_test.go
index 64245c609..9d7ac145c 100644
--- a/test/e2e/start_test.go
+++ b/test/e2e/start_test.go
@@ -115,4 +115,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))
+ })
})