mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-27 11:43:37 +08:00
forget to set error message to the test with wait command in fish script.
This commit is contained in:
parent
bb1956fd8d
commit
233738d50a
|
@ -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 New Issue
Block a user