##// END OF EJS Templates
hgweb: account for Python 2.4 in one test
Bryan O'Sullivan -
r5564:b4af2dd9 default
parent child Browse files
Show More
@@ -22,7 +22,7 b' echo % should give a 404 - bad revision'
22 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/spam/foo?style=raw'
22 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/spam/foo?style=raw'
23
23
24 echo % should give a 400 - bad command
24 echo % should give a 400 - bad command
25 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw'
25 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw' | sed 's/400.*/400/'
26
26
27 echo % should give a 404 - file does not exist
27 echo % should give a 404 - file does not exist
28 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw'
28 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw'
@@ -56,7 +56,7 b' 404 Not Found'
56
56
57 error: revision not found: spam
57 error: revision not found: spam
58 % should give a 400 - bad command
58 % should give a 400 - bad command
59 400 Bad Request
59 400
60
60
61
61
62 error: No such method: spam
62 error: No such method: spam
General Comments 0
You need to be logged in to leave comments. Login now