--- a/tests/test-hgweb Wed Nov 28 09:39:17 2007 -0800
+++ b/tests/test-hgweb Wed Nov 28 11:54:39 2007 -0600
@@ -22,7 +22,7 @@
"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/spam/foo?style=raw'
echo % should give a 400 - bad command
-"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw'
+"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw' | sed 's/400.*/400/'
echo % should give a 404 - file does not exist
"$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw'
--- a/tests/test-hgweb.out Wed Nov 28 09:39:17 2007 -0800
+++ b/tests/test-hgweb.out Wed Nov 28 11:54:39 2007 -0600
@@ -56,7 +56,7 @@
error: revision not found: spam
% should give a 400 - bad command
-400 Bad Request
+400
error: No such method: spam