aboutsummaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-01-13 11:35:28 -0800
committerJunio C Hamano <gitster@pobox.com>2011-01-13 11:35:28 -0800
commit7810c6b6d6cf91d624216623e2327d7cb63c1c92 (patch)
tree373142243f3fedca26f5bcf566692eb3f0745587 /t/test-lib.sh
parent37ee62bc6b60b566e39c8ea9fbf34b23a9a39d2f (diff)
parent5b5d53cbe5d67bd86543a4851014fde0837d1344 (diff)
downloadgit-7810c6b6d6cf91d624216623e2327d7cb63c1c92.tar.gz
git-7810c6b6d6cf91d624216623e2327d7cb63c1c92.tar.xz
Merge branch 'rj/test-fixes'
* rj/test-fixes: t4135-*.sh: Skip the "backslash" tests on cygwin t3032-*.sh: Do not strip CR from line-endings while grepping on MinGW t3032-*.sh: Pass the -b (--binary) option to sed on cygwin t6038-*.sh: Pass the -b (--binary) option to sed on cygwin Conflicts: t/t3032-merge-recursive-options.sh
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index cb1ca973a..42f2f1449 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1057,6 +1057,13 @@ case $(uname -s) in
# backslashes in pathspec are converted to '/'
# exec does not inherit the PID
test_set_prereq MINGW
+ test_set_prereq SED_STRIPS_CR
+ ;;
+*CYGWIN*)
+ test_set_prereq POSIXPERM
+ test_set_prereq EXECKEEPSPID
+ test_set_prereq NOT_MINGW
+ test_set_prereq SED_STRIPS_CR
;;
*)
test_set_prereq POSIXPERM