]> git.ipfire.org Git - thirdparty/git.git/commit - t/test-lib.sh
Do not strip CR when grepping HTTP headers.
authorPat Thoyts <patthoyts@users.sourceforge.net>
Sun, 12 Sep 2010 09:37:24 +0000 (10:37 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Fri, 1 Oct 2010 22:08:48 +0000 (23:08 +0100)
commita94114ad3d0fc584dea3ecd508135307882066a9
treed6df8d089d246690655d3ea895bfa4b91a52147f
parent3ba9ba8f34eda286867fba37e496850dc109af74
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>
t/t5560-http-backend-noserver.sh
t/test-lib.sh