Merge pull request #39884 from cpuguy83/swarm_tty_test_fix
Fix Service TTY test so signal handlers work
This commit is contained in:
commit
17bd4e2275
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue