test-lib: use more compact expression in PIPE prerequisite

Signed-off-by: Ramsay Jones <ramsay@ramsayjones.plus.com> Reviewed-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Ramsay Jones committed Sep 17, 2017 at 23:56 UTC 7b7bea23ac28cfaed820adc7659f8f0ea44b5724
1 file changed +2 -8
t/test-lib.sh
+2 -8
@@ -1062,14 +1062,8 @@ test_i18ngrep () {
1062
1063 test_lazy_prereq PIPE '
1064 # test whether the filesystem supports FIFOs
1065 - case $(uname -s) in
1066 - CYGWIN*|MINGW*)
1067 - false
1068 - ;;
1069 - *)
1070 - rm -f testfifo && mkfifo testfifo
1071 - ;;
1072 - esac
1065 + test_have_prereq !MINGW,!CYGWIN &&
1066 + rm -f testfifo && mkfifo testfifo
1067 '
1068
1069 test_lazy_prereq SYMLINKS '