Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jk/maint-push-config'
[gitweb.git]
/
t
/
test-lib.sh
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index a5b8d03db0fc88c42e38cdde13a6cd2b14c06581..f2ca5364722e9c85a23bdfdcf1e24122fd5e3a0f 100644
(file)
--- a/
t/test-lib.sh
+++ b/
t/test-lib.sh
@@
-685,6
+685,21
@@
do
esac
done
+# Provide an implementation of the 'yes' utility
+yes () {
+ if test $# = 0
+ then
+ y=y
+ else
+ y="$*"
+ fi
+
+ while echo "$y"
+ do
+ :
+ done
+}
+
# Fix some commands on Windows
case $(uname -s) in
*MINGW*)