summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--t/test-lib.sh10
1 files changed, 2 insertions, 8 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 8a91fb10a9..c730c0bc13 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -1062,14 +1062,8 @@ test_i18ngrep () {
test_lazy_prereq PIPE '
# test whether the filesystem supports FIFOs
- case $(uname -s) in
- CYGWIN*|MINGW*)
- false
- ;;
- *)
- rm -f testfifo && mkfifo testfifo
- ;;
- esac
+ test_have_prereq !MINGW,!CYGWIN &&
+ rm -f testfifo && mkfifo testfifo
'
test_lazy_prereq SYMLINKS '