tests/test-keyword
branch0.9.2compat
changeset 483 ad766066d1bc
parent 480 c5e1178401c5
child 486 a6f4e1367978
--- a/tests/test-keyword	Wed Jul 30 20:05:14 2008 +0200
+++ b/tests/test-keyword	Thu Aug 21 19:07:33 2008 +0200
@@ -267,7 +267,23 @@
 cd ..
 
 echo % kwexpand nonexistent
-hg kwexpand nonexistent
+hg kwexpand nonexistent 2>&1 | sed 's/nonexistent:.*/nonexistent:/'
+
+#echo % hg serve
+#hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
+#cat hg.pid >> $DAEMON_PIDS
+#echo % expansion
+#echo % hgweb file
+#("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/a/?style=raw')
+#echo % no expansion
+#echo % hgweb annotate
+#("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/annotate/tip/a/?style=raw')
+#echo % hgweb changeset
+#("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw')
+#echo % hgweb filediff
+#("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/bb948857c743/a?style=raw')
+#echo % errors encountered
+#cat errors.log
 
 echo % switch off expansion
 echo % kwshrink with unknown file u
@@ -283,12 +299,3 @@
 cat a b
 echo % hg cat
 hg cat a b
-
-echo % hg serve
-test -n "$HGPORT" || export HGPORT=20063
-hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log -E errors.log
-cat hg.pid >> $DAEMON_PIDS
-echo % hgweb changeset
-("$TESTDIR/get-with-headers.py" localhost:$HGPORT '/rev/tip/?style=raw')
-echo % errors encountered
-cat errors.log