aboutsummaryrefslogtreecommitdiff
path: root/t/t3032-merge-recursive-options.sh
diff options
context:
space:
mode:
authorMark Levedahl <mlevedahl@gmail.com>2013-07-18 17:44:57 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-18 16:44:40 -0700
commit97669eed109f5dea7dffe771d8f6aba4acf84b27 (patch)
treec9df4fe8aa6a4e9e49a5ef5a5716109051da30f2 /t/t3032-merge-recursive-options.sh
parentf59bebb78edb26e4f66c2754bc4d168c5d4ebb4a (diff)
downloadgit-97669eed109f5dea7dffe771d8f6aba4acf84b27.tar.gz
git-97669eed109f5dea7dffe771d8f6aba4acf84b27.tar.xz
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>
Diffstat (limited to 't/t3032-merge-recursive-options.sh')
-rwxr-xr-xt/t3032-merge-recursive-options.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3032-merge-recursive-options.sh b/t/t3032-merge-recursive-options.sh
index 2b17311cb..5fd7bbb65 100755
--- a/t/t3032-merge-recursive-options.sh
+++ b/t/t3032-merge-recursive-options.sh
@@ -14,7 +14,7 @@ test_description='merge-recursive options
. ./test-lib.sh
test_have_prereq SED_STRIPS_CR && SED_OPTIONS=-b
-test_have_prereq MINGW && export GREP_OPTIONS=-U
+test_have_prereq GREP_STRIPS_CR && export GREP_OPTIONS=-U
test_expect_success 'setup' '
conflict_hunks () {