From 35a10c9ba541807b96b01cc66f79c72606d9ed99 Mon Sep 17 00:00:00 2001 From: baude Date: Mon, 2 Apr 2018 09:20:13 -0500 Subject: Only allocate tty when -t In our ezrly development, we always allocated a tty when not -d. Now we should only allocated when the user asks for it. Resolves: #573 Signed-off-by: baude Closes: #574 Approved by: rhatdan --- test/e2e/run_privileged_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/e2e') diff --git a/test/e2e/run_privileged_test.go b/test/e2e/run_privileged_test.go index 6692c91c7..426b83d3c 100644 --- a/test/e2e/run_privileged_test.go +++ b/test/e2e/run_privileged_test.go @@ -69,7 +69,7 @@ var _ = Describe("Podman privileged container tests", func() { }) It("podman non-privileged should have very few devices", func() { - session := podmanTest.Podman([]string{"run", "busybox", "ls", "-l", "/dev"}) + session := podmanTest.Podman([]string{"run", "-t", "busybox", "ls", "-l", "/dev"}) session.WaitWithDefaultTimeout() Expect(session.ExitCode()).To(Equal(0)) Expect(len(session.OutputToStringArray())).To(Equal(18)) -- cgit v1.2.3-54-g00ecf