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>
This commit is contained in:

committed by
Junio C Hamano

parent
21dac1deee
commit
7b7bea23ac
@ -1062,14 +1062,8 @@ test_i18ngrep () {
|
|||||||
|
|
||||||
test_lazy_prereq PIPE '
|
test_lazy_prereq PIPE '
|
||||||
# test whether the filesystem supports FIFOs
|
# test whether the filesystem supports FIFOs
|
||||||
case $(uname -s) in
|
test_have_prereq !MINGW,!CYGWIN &&
|
||||||
CYGWIN*|MINGW*)
|
rm -f testfifo && mkfifo testfifo
|
||||||
false
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
rm -f testfifo && mkfifo testfifo
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
'
|
'
|
||||||
|
|
||||||
test_lazy_prereq SYMLINKS '
|
test_lazy_prereq SYMLINKS '
|
||||||
|
Reference in New Issue
Block a user