Allow the use of -i/-a on any container

We used to not allow the use of -a/-i on containers that were not
started with -i or a tty.  Given the improvements in our terminal
handling, this should work now.

This also fixes a systemic problem with the autotests.

Signed-off-by: baude <bbaude@redhat.com>

Closes: #617
Approved by: baude
This commit is contained in:
baude
2018-04-13 14:26:35 -05:00
committed by Atomic Bot
parent 9aafc25a3d
commit 62b59df053
2 changed files with 2 additions and 16 deletions

View File

@ -46,7 +46,7 @@ var _ = Describe("Podman run restart containers", func() {
killSession.WaitWithDefaultTimeout()
Expect(killSession.ExitCode()).To(Equal(0))
session2 := podmanTest.Podman([]string{"start", "--attach", "test1"})
session2 := podmanTest.Podman([]string{"start", "test1"})
session2.WaitWithDefaultTimeout()
Expect(session2.ExitCode()).To(Equal(0))
})