Mercurial > hg
comparison tests/test-clone-cgi.t @ 32940:75be14993fda
cleanup: use $PYTHON to run python in many more tests
Spotted one of these, then wrote a check-code rule that caught them
all. It will be the next change.
author | Augie Fackler <augie@google.com> |
---|---|
date | Tue, 20 Jun 2017 09:45:02 -0400 |
parents | 7a9cbb315d84 |
children | 8e6f4939a69a |
comparison
equal
deleted
inserted
replaced
32939:cad62cb3c84c | 32940:75be14993fda |
---|---|
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 |