From: Ramsay Jones Date: Sun, 17 Sep 2017 22:56:00 +0000 (+0100) Subject: test-lib: use more compact expression in PIPE prerequisite X-Git-Tag: v2.15.0-rc0~54^2~1 X-Git-Url: http://git.bitbasher.net/?a=commitdiff_plain;h=7b7bea23ac28cfaed820adc7659f8f0ea44b5724;p=git.git test-lib: use more compact expression in PIPE prerequisite Signed-off-by: Ramsay Jones Reviewed-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- 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 '