test-lib.sh - cygwin does not have usable FIFOs
[gitweb.git] / t / test-lib.sh
index ca6bdef63d2ee9389729e5118f22461c887dc5ed..e74bc224b31bea7919b7e1762924534c0bf24eaa 100644 (file)
@@ -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 '