mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-23 19:33:12 +00:00
Reduce loop count of pipeline test
Make the test run faster
This commit is contained in:
parent
f5bb8639d6
commit
35b3f7fee8
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ send_line "function echo_wrap ; /bin/echo $argv ; sleep 0.1; ; end"
|
|||
expect_prompt
|
||||
|
||||
set timeout 10
|
||||
for {set x 0} {$x<15} {incr x} {
|
||||
for {set x 0} {$x<5} {incr x} {
|
||||
send_line "echo_wrap 1 2 3 4 | $fish_test_helper become_foreground_then_print_stderr ; or exit 1"
|
||||
expect_prompt "become_foreground_then_print_stderr done" {} unmatched { puts stderr "fish_test_helper become_foreground_then_print_stderr failed"}
|
||||
}
|
||||
|
@ -17,7 +17,7 @@ expect_prompt "jobs: There are no jobs" {} unmatched { puts stderr "Should be no
|
|||
|
||||
send_line "function inner ; command true ; end; function outer; inner; end"
|
||||
expect_prompt
|
||||
for {set x 0} {$x<15} {incr x} {
|
||||
for {set x 0} {$x<5} {incr x} {
|
||||
send_line "outer | $fish_test_helper become_foreground_then_print_stderr ; or exit 1"
|
||||
expect_prompt "become_foreground_then_print_stderr done" {} unmatched { puts stderr "fish_test_helper become_foreground_then_print_stderr failed"}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue