From 5f4e02e5173c64b5b760f35283c4b0094bb85881 Mon Sep 17 00:00:00 2001 From: Brice Lambson Date: Sat, 30 Aug 2014 23:39:07 +0200 Subject: MinGW: update tests to handle a native eol of crlf MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some of the tests were written with the assumption that the native eol would always be lf. After defining NATIVE_CRLF on MinGW, these tests began failing. This change will update the tests to also handle a native eol of crlf. Signed-off-by: Brice Lambson Helped-by: Eric Sunshine Signed-off-by: Torsten Bögershausen Signed-off-by: Junio C Hamano --- t/test-lib.sh | 1 + 1 file changed, 1 insertion(+) (limited to 't/test-lib.sh') diff --git a/t/test-lib.sh b/t/test-lib.sh index a4795373a6..f359731c87 100644 --- a/t/test-lib.sh +++ b/t/test-lib.sh @@ -867,6 +867,7 @@ case $(uname -s) in # exec does not inherit the PID test_set_prereq MINGW test_set_prereq NOT_CYGWIN + test_set_prereq NATIVE_CRLF test_set_prereq SED_STRIPS_CR test_set_prereq GREP_STRIPS_CR GIT_TEST_CMP=mingw_test_cmp -- cgit v1.2.1