aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorbaude <bbaude@redhat.com>2018-04-02 09:20:13 -0500
committerAtomic Bot <atomic-devel@projectatomic.io>2018-04-03 22:23:23 +0000
commit35a10c9ba541807b96b01cc66f79c72606d9ed99 (patch)
tree86bc9000c6b161fd53023f33ae4fa37ee22fcb53 /test
parentb1a8d769b84c52ea5ea74263cff6f582b1bdfcf0 (diff)
downloadpodman-35a10c9ba541807b96b01cc66f79c72606d9ed99.tar.gz
podman-35a10c9ba541807b96b01cc66f79c72606d9ed99.tar.bz2
podman-35a10c9ba541807b96b01cc66f79c72606d9ed99.zip
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 <bbaude@redhat.com> Closes: #574 Approved by: rhatdan
Diffstat (limited to 'test')
-rw-r--r--test/e2e/run_privileged_test.go2
1 files changed, 1 insertions, 1 deletions
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))