diff options
Diffstat (limited to 'tests/pytests/kresd.py')
-rw-r--r-- | tests/pytests/kresd.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/pytests/kresd.py b/tests/pytests/kresd.py index 607809e1..1e103005 100644 --- a/tests/pytests/kresd.py +++ b/tests/pytests/kresd.py @@ -91,8 +91,9 @@ class Kresd(ContextDecorator): create_file_from_template(KRESD_CONF_TEMPLATE, self.config_path, {'kresd': self}) self.logfile = open(self.logfile_path, 'w') + kresd_exec = os.environ.get('KRESD_EXEC', 'kresd') self.process = subprocess.Popen( - ['kresd', '-c', self.config_path, '-f', '1', self.workdir], + [kresd_exec, '-c', self.config_path, '-f', '1', self.workdir], stdout=self.logfile, env=os.environ.copy()) try: |