From 7b7bea23ac28cfaed820adc7659f8f0ea44b5724 Mon Sep 17 00:00:00 2001 From: Ramsay Jones Date: Sun, 17 Sep 2017 23:56:00 +0100 Subject: [PATCH] test-lib: use more compact expression in PIPE prerequisite Signed-off-by: Ramsay Jones Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- t/test-lib.sh | 10 ++-------- 1 file 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 '