summaryrefslogtreecommitdiff
path: root/t/test-lib.sh
diff options
context:
space:
mode:
authorAdam Spiers <git@adamspiers.org>2013-04-11 03:07:04 +0100
committerJunio C Hamano <gitster@pobox.com>2013-04-11 17:39:05 -0700
commit200732744a32a378b636da4d840aeb410adfb2ad (patch)
tree7df5246baec1a40081fb61486c65d1a975ed4785 /t/test-lib.sh
parent59a7714c8909f1a925a7faa4f3015f015c087ee5 (diff)
downloadgit-200732744a32a378b636da4d840aeb410adfb2ad.tar.gz
t: make PIPE a standard test prerequisite
The 'PIPE' test prerequisite was already defined identically by t9010 and t9300, therefore it makes sense to make it a predefined prerequisite. Signed-off-by: Adam Spiers <git@adamspiers.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/test-lib.sh')
-rw-r--r--t/test-lib.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/t/test-lib.sh b/t/test-lib.sh
index 1f510252ad..8d76cf23d4 100644
--- a/t/test-lib.sh
+++ b/t/test-lib.sh
@@ -727,6 +727,11 @@ test_i18ngrep () {
fi
}
+test_lazy_prereq PIPE '
+ # test whether the filesystem supports FIFOs
+ rm -f testfifo && mkfifo testfifo
+'
+
test_lazy_prereq SYMLINKS '
# test whether the filesystem supports symbolic links
ln -s x y && test -h y