Update tests to match behaviour from 848db48af5

(cherry picked from commit d5e5878f6d)
This commit is contained in:
David Adam 2017-10-31 20:09:45 +08:00
parent 1f51bdbb0c
commit 3bd2caf682

View File

@ -14,8 +14,8 @@ expect -re "There are still jobs active:\r
PID Command\r
*\\d+ sleep 111 &\r
\r
Use `disown PID` to let them live independently from fish.\r
A second attempt to exit will terminate them.\r"
A second attempt to exit will terminate them.\r
Use 'disown PID' to remove jobs from the list without terminating them.\r"
expect_prompt
# Running anything other than `exit` should result in the same warning with
@ -29,8 +29,8 @@ expect -re "There are still jobs active:\r
*\\d+ sleep 113 &\r
*\\d+ sleep 111 &\r
\r
Use `disown PID` to let them live independently from fish.\r
A second attempt to exit will terminate them.\r"
A second attempt to exit will terminate them.\r
Use 'disown PID' to remove jobs from the list without terminating them.\r"
expect_prompt
# Verify that asking to exit a second time does so.