summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorPat Thoyts <patthoyts@users.sourceforge.net>2010-09-12 10:37:24 +0100
committerPat Thoyts <patthoyts@users.sourceforge.net>2010-10-01 23:08:48 +0100
commita94114ad3d0fc584dea3ecd508135307882066a9 (patch)
treed6df8d089d246690655d3ea895bfa4b91a52147f /t/test-lib.sh
parent3ba9ba8f34eda286867fba37e496850dc109af74 (diff)
downloadgit-a94114ad3d0fc584dea3ecd508135307882066a9.tar.gz
Do not strip CR when grepping HTTP headers.
By default, MSYS grep reads in text-mode and converts CRLF into LF line endings. For testing HTTP use binary mode (-U) as checking is done for CR in HTTP headers Signed-off-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Pat Thoyts <patthoyts@users.sourceforge.net>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index a85e7954ad..2af8f10c83 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -970,6 +970,7 @@ case $(uname -s) in
# no POSIX permissions
# backslashes in pathspec are converted to '/'
# exec does not inherit the PID
+ test_set_prereq MINGW
;;
*)
test_set_prereq POSIXPERM