diff tests/test-impexp-branch.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 efedda4aed49
children 4d40fd0283d8
line wrap: on
line diff
--- a/tests/test-impexp-branch.t	Thu Jun 15 14:22:39 2017 -0400
+++ b/tests/test-impexp-branch.t	Tue Jun 20 09:45:02 2017 -0400
@@ -30,12 +30,12 @@
   $ hg export 1 > ../r1.patch
   $ cd ..
 
-  $ if python findbranch.py < r0.patch; then
+  $ if $PYTHON findbranch.py < r0.patch; then
   >     echo "Export of default branch revision has Branch header" 1>&2
   >     exit 1
   > fi
 
-  $ if python findbranch.py < r1.patch; then
+  $ if $PYTHON findbranch.py < r1.patch; then
   >     :  # Do nothing
   > else
   >     echo "Export of branch revision is missing Branch header" 1>&2