mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-12 04:58:57 +00:00
Fix wait tests
This was probably the result of a botched merge. Unfortunately these tests take quite a while, so maybe we should remove some?
This commit is contained in:
parent
7c5297e785
commit
c053065e91
1 changed files with 3 additions and 2 deletions
|
@ -56,9 +56,10 @@ set error_msg "wait with -n option: Fail"
|
|||
send_line "sleep 3 &; sleep 1 &; sleep 2 &"
|
||||
expect_prompt
|
||||
send_line "wait -n"
|
||||
expect_prompt "Job 3, 'sleep 1 &' has ended" {} unmatched { puts stderr $error_msg }
|
||||
expect_prompt "Job 2, 'sleep 1 &' has ended" {} unmatched { puts stderr $error_msg }
|
||||
send_line "wait --any"
|
||||
expect_prompt "Job 4, 'sleep 2 &' has ended" {} unmatched { puts stderr $error_msg }
|
||||
expect_prompt "Job 3, 'sleep 2 &' has ended" {} unmatched { puts stderr $error_msg }
|
||||
send_line "wait -n"
|
||||
expect_prompt "Job 1, 'sleep 3 &' has ended" {} unmatched { puts stderr $error_msg }
|
||||
send_line "jobs"
|
||||
expect_prompt "jobs: There are no jobs" {} unmatched { puts stderr $error_msg }
|
||||
|
|
Loading…
Reference in a new issue