test-lib.sh - define and use GREP_STRIPS_CR
commit97669eed109f5dea7dffe771d8f6aba4acf84b27
authorMark Levedahl <mlevedahl@gmail.com>
Thu, 18 Jul 2013 21:44:57 +0000 (18 17:44 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 18 Jul 2013 23:44:40 +0000 (18 16:44 -0700)
treec9df4fe8aa6a4e9e49a5ef5a5716109051da30f2
parentf59bebb78edb26e4f66c2754bc4d168c5d4ebb4a
test-lib.sh - define and use GREP_STRIPS_CR

Define a common macro for grep needing -U to allow tests to not need
to inquire of specific platforms needing this option. Change
t3032 and t5560 to use this rather than testing explicitly for mingw.
This fixes these two tests on Cygwin.

Signed-off-by: Mark Levedahl <mlevedahl@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
t/t3032-merge-recursive-options.sh
t/t5560-http-backend-noserver.sh
t/test-lib.sh