equal
deleted
inserted
replaced
25 echo % should give a 400 - bad command |
25 echo % should give a 400 - bad command |
26 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw' | sed 's/400.*/400/' |
26 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/foo?cmd=spam&style=raw' | sed 's/400.*/400/' |
27 |
27 |
28 echo % should give a 404 - file does not exist |
28 echo % should give a 404 - file does not exist |
29 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw' |
29 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork?style=raw' |
|
30 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/file/tip/bork' |
|
31 "$TESTDIR/get-with-headers.py" localhost:$HGPORT '/diff/tip/bork?style=raw' |
30 |
32 |
31 echo % stop and restart |
33 echo % stop and restart |
32 kill `cat hg.pid` |
34 kill `cat hg.pid` |
33 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log |
35 hg serve -p $HGPORT -d --pid-file=hg.pid -A access.log |
34 cat hg.pid >> $DAEMON_PIDS |
36 cat hg.pid >> $DAEMON_PIDS |