tests/test-schemes
changeset 9964 e600ad9bc257
child 10070 9d1195b2f00d
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/tests/test-schemes	Tue Nov 24 17:48:23 2009 +0200
@@ -0,0 +1,22 @@
+#!/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