diff --git a/testcases/misctestcase.py b/testcases/misctestcase.py index c9449407..4a6b4241 100644 --- a/testcases/misctestcase.py +++ b/testcases/misctestcase.py @@ -64,7 +64,8 @@ class SetupTest(unittest.TestCase): def testSetupInstallRoot(self): if not self.setup: return # if verbose skip didn't work out tmp = tempfile.mkdtemp() - os.system("%s install --root=%s >/dev/null" % (self.setup, tmp)) + os.system("%s %s install --root=%s >/dev/null" + % (sys.executable, self.setup, tmp)) def addpath(l): return [os.path.join(tmp, x) for x in l]