aboutsummaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorMark Levedahl <mlevedahl@gmail.com>2013-07-04 18:04:30 -0400
committerJunio C Hamano <gitster@pobox.com>2013-07-05 00:06:22 -0700
commit9443605b5d795122276b2c35887c9460148e2166 (patch)
tree0271d4562b7320a78cbd77d294d518bfab0065df /t
parent81a199bb1cd483321962a7bfe5db33980bbf0f01 (diff)
downloadgit-9443605b5d795122276b2c35887c9460148e2166.tar.gz
git-9443605b5d795122276b2c35887c9460148e2166.tar.xz
test-lib.sh - cygwin does not have usable FIFOs
Do not use FIFOs on cygwin, they do not work. Cygwin includes coreutils, so has mkfifo, and that command does something. However, the resultant named pipe is known (on the Cygwin mailing list at least) to not work correctly. This disables PIPE for Cygwin, allowing t0008.sh to complete (all other tests in that file work correctly). Signed-off-by: Mark Levedahl <mlevedahl@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rw-r--r--t/test-lib.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index ca6bdef63..e74bc224b 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -737,7 +737,14 @@ test_i18ngrep () {
test_lazy_prereq PIPE '
# test whether the filesystem supports FIFOs
- rm -f testfifo && mkfifo testfifo
+ case $(uname -s) in
+ CYGWIN*)
+ false
+ ;;
+ *)
+ rm -f testfifo && mkfifo testfifo
+ ;;
+ esac
'
test_lazy_prereq SYMLINKS '