view tests/test-schemes @ 10016:8a0af23af5d1

export: fix tests
author Matt Mackall <mpm@selenic.com>
date Fri, 04 Dec 2009 13:59:33 -0600
parents e600ad9bc257
children 9d1195b2f00d
line wrap: on
line source

#!/bin/sh

cat <<EOF >> $HGRCPATH
[extensions]
schemes=

[schemes]
l = http://localhost:$HGPORT/
EOF

hg init test
cd test
echo a > a
hg ci -Am initial

hg serve -n test -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
cat hg.pid >> $DAEMON_PIDS

hg incoming l://

echo % errors
cat errors.log