diff 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
line wrap: on
line diff
--- a/tests/test-clone-cgi.t	Thu Jun 15 14:22:39 2017 -0400
+++ b/tests/test-clone-cgi.t	Tue Jun 20 09:45:02 2017 -0400
@@ -27,7 +27,7 @@
   $ . "$TESTDIR/cgienv"
   $ QUERY_STRING="cmd=changegroup&roots=0000000000000000000000000000000000000000"; export QUERY_STRING
   $ python hgweb.cgi >page1 2>&1
-  $ python "$TESTDIR/md5sum.py" page1
+  $ $PYTHON "$TESTDIR/md5sum.py" page1
   1f424bb22ec05c3c6bc866b6e67efe43  page1
 
 make sure headers are sent even when there is no body