Update tests to match behaviour from 848db48af5

This commit is contained in:
David Adam 2017-10-31 20:09:45 +08:00
parent 848db48af5
commit d5e5878f6d

View file

@ -14,8 +14,8 @@ expect -re "There are still jobs active:\r
PID Command\r PID Command\r
*\\d+ sleep 111 &\r *\\d+ sleep 111 &\r
\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 expect_prompt
# Running anything other than `exit` should result in the same warning with # 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 113 &\r
*\\d+ sleep 111 &\r *\\d+ sleep 111 &\r
\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 expect_prompt
# Verify that asking to exit a second time does so. # Verify that asking to exit a second time does so.