diff tests/test-hgweb.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 939ce500c92a
children dc4d2cd3aa3e
line wrap: on
line diff
--- a/tests/test-hgweb.t	Wed Oct 15 15:13:43 2014 -0400
+++ b/tests/test-hgweb.t	Wed Oct 15 15:35:59 2014 -0400
@@ -325,7 +325,7 @@
 
 Test the access/error files are opened in append mode
 
-  $ python -c "print len(file('access.log').readlines()), 'log lines written'"
+  $ $PYTHON -c "print len(file('access.log').readlines()), 'log lines written'"
   14 log lines written
 
 static file