mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
forget to set error message to the test with wait command in fish script.
This commit is contained in:
parent
bb1956fd8d
commit
233738d50a
1 changed files with 2 additions and 0 deletions
|
@ -176,6 +176,8 @@ send_line "jobs"
|
|||
expect_prompt "jobs: There are no jobs" {} unmatched { puts stderr $error_msg }
|
||||
|
||||
# test with fish script
|
||||
set error_msg "test with fish script: Fail"
|
||||
|
||||
send_line "fish -c 'sleep 2 &; sleep 1 &; wait \$last_pid; jobs | wc -l'"
|
||||
expect "1" {} timeout { puts stderr $error_msg }
|
||||
expect_prompt
|
||||
|
|
Loading…
Reference in a new issue