aboutsummaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorBrice Lambson <bricelam@live.com>2014-08-30 23:39:07 +0200
committerJunio C Hamano <gitster@pobox.com>2014-09-02 12:09:40 -0700
commit5f4e02e5173c64b5b760f35283c4b0094bb85881 (patch)
tree327a67bcac4be279270d17161866cd2ad5fddc6f /t/test-lib.sh
parent5491e9e29eef60bd6337de81e9283e67941618e5 (diff)
downloadgit-5f4e02e5173c64b5b760f35283c4b0094bb85881.tar.gz
git-5f4e02e5173c64b5b760f35283c4b0094bb85881.tar.xz
MinGW: update tests to handle a native eol of crlf
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 <bricelam@live.com> Helped-by: Eric Sunshine <sunshine@sunshineco.com> Signed-off-by: Torsten Bögershausen <tboegi@web.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index a4795373a..f359731c8 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