comparison tests/test-clone-cgi.t @ 39723:5abc47d4ca6b

tests: quote PYTHON usage Python3 defaults to installing under "Program Files".
author Matt Harbison <matt_harbison@yahoo.com>
date Tue, 18 Sep 2018 23:47:21 -0400
parents 2a42ca2679e2
children d5cd1fd690f3
comparison
equal deleted inserted replaced
39722:030d558c6456 39723:5abc47d4ca6b
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)