mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-20 22:05:54 +08:00
tests/job_summary: Add jobs call
Might help figuring out where this times out on CI? We're waiting *20 seconds* for the output to appear, there's no way that's too slow. So maybe we're going too fast elsewhere?
This commit is contained in:
parent
1c6953ce79
commit
c46489bde8
@ -31,6 +31,10 @@ expect_prompt()
|
||||
# cmd_line correctly prints only the actually backgrounded job.
|
||||
sendline("false; sleep 10 &; true")
|
||||
expect_prompt()
|
||||
sendline("jobs")
|
||||
expect_re("Job.*Group.*CPU.*State.*Command")
|
||||
expect_re("running.*sleep 10 &")
|
||||
expect_prompt()
|
||||
sendline("kill -TERM $last_pid")
|
||||
expect_re("[0-9]+:0:sleep 10 &:SIGTERM:Polite quit request", timeout=20)
|
||||
sendline("")
|
||||
|
Loading…
x
Reference in New Issue
Block a user