Merge pull request #39884 from cpuguy83/swarm_tty_test_fix

Fix Service TTY test so signal handlers work
This commit is contained in:
Brian Goff 2019-09-09 14:06:40 -07:00 committed by GitHub
commit 17bd4e2275
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -842,7 +842,7 @@ func (s *DockerSwarmSuite) TestSwarmServiceTTY(c *check.C) {
name := "top"
ttyCheck := "if [ -t 0 ]; then echo TTY > /status && top; else echo none > /status && top; fi"
ttyCheck := "if [ -t 0 ]; then echo TTY > /status; else echo none > /status; fi; exec top"
// Without --tty
expectedOutput := "none"