diff tests/test-glog.t @ 22947:c63a09b6b337

tests: use $PYTHON instead of hardcoding python This makes running the testsuite with pypy possible.
author Augie Fackler <raf@durin42.com>
date Wed, 15 Oct 2014 15:35:59 -0400
parents 1dd178277cf5
children fab9dda0f2a3
line wrap: on
line diff
--- a/tests/test-glog.t
+++ b/tests/test-glog.t
@@ -1631,7 +1631,7 @@
 
 Test glob expansion of pats
 
-  $ expandglobs=`python -c "import mercurial.util; \
+  $ expandglobs=`$PYTHON -c "import mercurial.util; \
   >   print mercurial.util.expandglobs and 'true' or 'false'"`
   $ if [ $expandglobs = "true" ]; then
   >    testlog 'a*';