mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Update tests to match behaviour from 848db48af5e3badf
(cherry picked from commit d5e5878f6d17dd33353c3835d19204e18e3e4927)
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…
x
Reference in New Issue
Block a user