tests: launch hghave with python interpreter without relying on hash-bang
authorMads Kiilerich <mads@kiilerich.com>
Wed, 16 Nov 2011 03:45:14 +0100
changeset 15518 d01e08ea459d
parent 15517 9ec8569e9a8b
child 15519 bb9ad375b51c
tests: launch hghave with python interpreter without relying on hash-bang
tests/test-filecache.py
--- a/tests/test-filecache.py	Wed Nov 16 03:45:14 2011 +0100
+++ b/tests/test-filecache.py	Wed Nov 16 03:45:14 2011 +0100
@@ -1,6 +1,6 @@
 import sys, os, subprocess
 
-if subprocess.call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable']):
+if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']):
     sys.exit(80)
 
 from mercurial import util, scmutil, extensions