tests/test-hgweb-empty
author Paolo Giarrusso <p.giarrusso@gmail.com>
Thu, 12 Aug 2010 16:30:17 +0200
branchstable
changeset 11825 3742046d3729
parent 7565 5f162f61e479
permissions -rwxr-xr-x
i18n-it: avoid using two spaces after a '.' See http://en.wikipedia.org/wiki/Sentence_spacing to verify that single spacing is indeed correct.

#!/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')