Show More
@@ -61,6 +61,13 b' check http return codes' | |||||
61 | $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log |
|
61 | $ hg serve -p $HGPORT -d --pid-file=hg.pid -E errors.log | |
62 | $ cat hg.pid >> $DAEMON_PIDS |
|
62 | $ cat hg.pid >> $DAEMON_PIDS | |
63 |
|
63 | |||
|
64 | check archive links' order | |||
|
65 | ||||
|
66 | $ get-with-headers.py localhost:$HGPORT "?revcount=1" | grep '/archive/tip.' | |||
|
67 | <a href="/archive/tip.zip">zip</a> | |||
|
68 | <a href="/archive/tip.tar.gz">gz</a> | |||
|
69 | <a href="/archive/tip.tar.bz2">bz2</a> | |||
|
70 | ||||
64 | invalid arch type should give 404 |
|
71 | invalid arch type should give 404 | |
65 |
|
72 | |||
66 | $ get-with-headers.py localhost:$HGPORT "archive/tip.invalid" | head -n 1 |
|
73 | $ get-with-headers.py localhost:$HGPORT "archive/tip.invalid" | head -n 1 |
General Comments 0
You need to be logged in to leave comments.
Login now