diff options
author | Ramsay Jones <ramsay@ramsayjones.plus.com> | 2017-09-17 23:56:00 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-09-19 12:29:50 +0900 |
commit | 7b7bea23ac28cfaed820adc7659f8f0ea44b5724 (patch) | |
tree | b1a6a4bd4d637a64fddd8f35066e06c11e5d503c /t | |
parent | test-lib: don't use ulimit in test prerequisites on cygwin (diff) | |
download | tgif-7b7bea23ac28cfaed820adc7659f8f0ea44b5724.tar.xz |
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>
Diffstat (limited to 't')
-rw-r--r-- | t/test-lib.sh | 10 |
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 ' |