tests/test-hgweb
changeset 5564 b4af2dd9868a
parent 5561 22713dce19f6
child 5580 f429e0e067a8
--- 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'