Commit 7cbb5e5a authored by Pavel Emelyanov's avatar Pavel Emelyanov

zdtm.py: Save existing environment for zdtm-in-ct

Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 0cc62891
......@@ -440,7 +440,8 @@ class launcher:
nd = ('nocr', 'norst', 'pre', 'iters', 'page_server')
arg = repr((name, desc, flavor, { d: self.__opts[d] for d in nd }))
log = name.replace('/', '_') + ".log"
sub = subprocess.Popen(["zdtm_ct", "zdtm.py"], env = { 'ZDTM_CT_TEST_INFO': arg }, \
sub = subprocess.Popen(["./zdtm_ct", "zdtm.py"], \
env = dict(os.environ, ZDTM_CT_TEST_INFO = arg ), \
stdout = open(log, "w"), stderr = subprocess.STDOUT)
self.__subs[sub.pid] = { 'sub': sub, 'log': log }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment