comparison tests/test-filecache.py @ 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 774da7121fc9
children 525fdb738975
comparison
equal deleted inserted replaced
15517:9ec8569e9a8b 15518:d01e08ea459d
1 import sys, os, subprocess 1 import sys, os, subprocess
2 2
3 if subprocess.call(['%s/hghave' % os.environ['TESTDIR'], 'cacheable']): 3 if subprocess.call(['python', '%s/hghave' % os.environ['TESTDIR'], 'cacheable']):
4 sys.exit(80) 4 sys.exit(80)
5 5
6 from mercurial import util, scmutil, extensions 6 from mercurial import util, scmutil, extensions
7 7
8 filecache = scmutil.filecache 8 filecache = scmutil.filecache