MinGW: update tests to handle a native eol of crlf
[gitweb.git] / t / test-lib.sh
index 81394c8c7c859b1a46a765c05020e74bf0e2808e..f359731c87055c9e56547ced99d0d6814b77821e 100644 (file)
@@ -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
@@ -976,6 +977,14 @@ test_lazy_prereq AUTOIDENT '
        git var GIT_AUTHOR_IDENT
 '
 
+test_lazy_prereq EXPENSIVE '
+       test -n "$GIT_TEST_LONG"
+'
+
+test_lazy_prereq USR_BIN_TIME '
+       test -x /usr/bin/time
+'
+
 # When the tests are run as root, permission tests will report that
 # things are writable when they shouldn't be.
 test -w / || test_set_prereq SANITY