mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-01 06:53:39 +08:00
Update tests to match behaviour from 848db48af5
(cherry picked from commit d5e5878f6d
)
This commit is contained in:
parent
1f51bdbb0c
commit
3bd2caf682
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue
Block a user