equal
deleted
inserted
replaced
24 |
24 |
25 try hgweb request |
25 try hgweb request |
26 |
26 |
27 $ . "$TESTDIR/cgienv" |
27 $ . "$TESTDIR/cgienv" |
28 $ QUERY_STRING="cmd=changegroup&roots=0000000000000000000000000000000000000000"; export QUERY_STRING |
28 $ QUERY_STRING="cmd=changegroup&roots=0000000000000000000000000000000000000000"; export QUERY_STRING |
29 $ python hgweb.cgi >page1 2>&1 |
29 $ $PYTHON hgweb.cgi >page1 2>&1 |
30 $ $PYTHON "$TESTDIR/md5sum.py" page1 |
30 $ $PYTHON "$TESTDIR/md5sum.py" page1 |
31 1f424bb22ec05c3c6bc866b6e67efe43 page1 |
31 1f424bb22ec05c3c6bc866b6e67efe43 page1 |
32 |
32 |
33 make sure headers are sent even when there is no body |
33 make sure headers are sent even when there is no body |
34 |
34 |
35 $ QUERY_STRING="cmd=listkeys&namespace=nosuchnamespace" python hgweb.cgi |
35 $ QUERY_STRING="cmd=listkeys&namespace=nosuchnamespace" $PYTHON hgweb.cgi |
36 Status: 200 Script output follows\r (esc) |
36 Status: 200 Script output follows\r (esc) |
37 Content-Type: application/mercurial-0.1\r (esc) |
37 Content-Type: application/mercurial-0.1\r (esc) |
38 Content-Length: 0\r (esc) |
38 Content-Length: 0\r (esc) |
39 \r (esc) |
39 \r (esc) |