view tests/test-hgweb-empty @ 10064:6f30c35766d6

minirst: don't test regexps twice We know the regexps match since splitparagraphs used them too.
author Martin Geisler <mg@lazybytes.net>
date Sun, 13 Dec 2009 22:37:30 +0100
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')