Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
test-lib: use more compact expression in PIPE prerequisite
author
Ramsay Jones
<ramsay@ramsayjones.plus.com>
Sun, 17 Sep 2017 22:56:00 +0000
(23:56 +0100)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 19 Sep 2017 03:29:50 +0000
(12:29 +0900)
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>
t/test-lib.sh
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
21dac1d
)
diff --git
a/t/test-lib.sh
b/t/test-lib.sh
index 8a91fb10a9906ad0d4b09cff69f7dca7674425e1..c730c0bc1399e4d6c4846a4fe8d4afce28f0b51d 100644
(file)
--- 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
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 '
'
test_lazy_prereq SYMLINKS '