X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Flib;h=8fd35147431f884637c195ddde9ba41b34cfd58f;hp=0996d3e57b8636213fec97a4eea8b4aab8ddbef1;hb=c85ececfb4a825fe91cf45aa8ffae69863ace473;hpb=0450dc6909f1543a9515f9e686a5c01c7888073b diff --git a/tests/lib b/tests/lib index 0996d3e5..8fd35147 100644 --- a/tests/lib +++ b/tests/lib @@ -419,6 +419,17 @@ t-dgit () { ' } +t-dgit-manpage () { + local section=$1 + local page=$2 + (export LC_ALL=C.UTF-8 + if [ "$DGIT_TEST_INTREE" ]; then + make -C $DGIT_TEST_INTREE $page.$section.view + else + man $section $page + fi) +} + t-diff-nogit () { diff --exclude=.git --exclude=.pc -ruN $* }