mirror of
https://github.com/git/git.git
synced 2025-04-08 04:05:49 +00:00
Merge branch 'js/test-lib-windows-emulated-yes' into maint
The emulated "yes" command used in our test scripts has been tweaked not to spend too much time generating unnecessary output that is not used, to help those who test on Windows where it would not stop until it fills the pipe buffer due to lack of SIGPIPE. * js/test-lib-windows-emulated-yes: test-lib: limit the output of the yes utility
This commit is contained in:
commit
7516977b4a
@ -907,9 +907,11 @@ yes () {
|
||||
y="$*"
|
||||
fi
|
||||
|
||||
while echo "$y"
|
||||
i=0
|
||||
while test $i -lt 99
|
||||
do
|
||||
:
|
||||
echo "$y"
|
||||
i=$(($i+1))
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user