From 97669eed109f5dea7dffe771d8f6aba4acf84b27 Mon Sep 17 00:00:00 2001 From: Mark Levedahl Date: Thu, 18 Jul 2013 17:44:57 -0400 Subject: 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 Signed-off-by: Junio C Hamano --- t/t3032-merge-recursive-options.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 't/t3032-merge-recursive-options.sh') diff --git a/t/t3032-merge-recursive-options.sh b/t/t3032-merge-recursive-options.sh index 2b17311cb0..5fd7bbb652 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 () { -- cgit v1.2.1