diff options
author | Junio C Hamano <gitster@pobox.com> | 2019-03-07 09:59:54 +0900 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2019-03-07 09:59:55 +0900 |
commit | 19ea7228b0b6a7a573f3601f4cafbf2d07078b34 (patch) | |
tree | 0a791068776c80b6a433c1b036ee8c064b8f9141 /t/test-lib.sh | |
parent | c425d361f5bf46d99cd96d7eac3488ebb2e92b60 (diff) | |
parent | 11f470aee7ccd43bc2be159e69e121c35a72f91d (diff) | |
download | git-19ea7228b0b6a7a573f3601f4cafbf2d07078b34.tar.gz |
Merge branch 'jc/test-yes-doc'
Test doc update.
* jc/test-yes-doc:
test: caution on our version of 'yes'
Diffstat (limited to 't/test-lib.sh')
-rw-r--r-- | t/test-lib.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh index 8665b0a9b6..4e79e140c9 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -1327,7 +1327,11 @@ then fi fi -# Provide an implementation of the 'yes' utility +# Provide an implementation of the 'yes' utility; the upper bound +# limit is there to help Windows that cannot stop this loop from +# wasting cycles when the downstream stops reading, so do not be +# tempted to turn it into an infinite loop. cf. 6129c930 ("test-lib: +# limit the output of the yes utility", 2016-02-02) yes () { if test $# = 0 then |