changeset 15518:d01e08ea459d

tests: launch hghave with python interpreter without relying on hash-bang
author Mads Kiilerich <mads@kiilerich.com>
date Wed, 16 Nov 2011 03:45:14 +0100
parents 9ec8569e9a8b
children bb9ad375b51c
files tests/test-filecache.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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