$ "$TESTDIR/hghave" serve || exit 80 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') 200 Script output follows test: log

test

log

age author description
$ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'log') 200 Script output follows test: log

test

log

age author description
$ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'graph') 200 Script output follows test: revision graph

test

graph

      $ ("$TESTDIR/get-with-headers.py" localhost:$HGPORT 'file') 200 Script output follows test: 000000000000 /

      test

      directory / @ -1:000000000000 tip

      name size permissions
      [up] drwxr-xr-x
      $ cd ..