Skip to content
Snippets Groups Projects
Commit 3de53180 authored by Daniel Salzman's avatar Daniel Salzman
Browse files

tests-extra: store keymgr outputs in keymgr.out and keymgr.err

parent 7a29a5cf
No related branches found
No related tags found
No related merge requests found
......@@ -94,6 +94,13 @@ class Keymgr(object):
cmd = Popen(cmdline, stdout=PIPE, stderr=PIPE, universal_newlines=True)
(stdout, stderr) = cmd.communicate()
with open(dnstest.params.out_dir + "/keymgr.out", "a") as outf:
outf.write(' '.join(cmdline))
outf.write("\n" + stdout)
with open(dnstest.params.out_dir + "/keymgr.err", "a") as errf:
errf.write(stderr)
return (cmd.returncode, stdout, stderr)
@classmethod
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment