Mercurial > hg
view tests/test-hgweb-empty @ 8311:e0eb03bfa5af
manpage build: fail early when xmlto is not available
When we try to build manpages with xmlto and sed, but xmlto is
missing fail at the xmlto stage. Otherwise, one may run `cd doc;
make' and miss the warnings like:
xmlto: not found
sed: hg.1: No such file or directory
and end up with empty files installed as manpages.
author | Giorgos Keramidas <keramida@ceid.upatras.gr> |
---|---|
date | Thu, 07 May 2009 15:08:25 +0300 |
parents | 5f162f61e479 |
children |
line wrap: on
line source
#!/bin/sh # Some tests for hgweb in an empty repository hg init test cd test hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log cat hg.pid >> $DAEMON_PIDS ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/shortlog') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/log') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/graph') ("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file')