summaryrefslogtreecommitdiff
path: root/tests/t4_adm.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/t4_adm.py')
-rw-r--r--tests/t4_adm.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/t4_adm.py b/tests/t4_adm.py
index 36dd6c5..8e31765 100644
--- a/tests/t4_adm.py
+++ b/tests/t4_adm.py
@@ -37,7 +37,7 @@ class AdmTests(unittest.TestCase):
shutil.rmtree(self.backend_dir)
def mkfs(self):
- proc = subprocess.Popen([os.path.join(BASEDIR, 'bin', 'mkfs.s3ql'),
+ proc = subprocess.Popen([sys.executable, os.path.join(BASEDIR, 'bin', 'mkfs.s3ql'),
'-L', 'test fs', '--max-obj-size', '500',
'--cachedir', self.cache_dir, '--quiet',
self.storage_url ], stdin=subprocess.PIPE)
@@ -53,7 +53,7 @@ class AdmTests(unittest.TestCase):
passphrase_new = 'sd982jhd'
- proc = subprocess.Popen([os.path.join(BASEDIR, 'bin', 's3qladm'),
+ proc = subprocess.Popen([sys.executable, os.path.join(BASEDIR, 'bin', 's3qladm'),
'--quiet', 'passphrase',
self.storage_url ], stdin=subprocess.PIPE)