[Tests] Write stdout/stderr to datadir instead of temp file.

This commit is contained in:
John Newbery committed 2018-05-09 09:56:49 -04:00
1 parent 4a50ec0efd
commit c22ce8a7b8
3 files changed
+21 -9

No files matched your search

+2
View File
@@ -301,6 +301,8 @@ def initialize_datadir(dirname, n):
f.write("keypool=1\n")
f.write("discover=0\n")
f.write("listenonion=0\n")
os.makedirs(os.path.join(datadir, 'stderr'), exist_ok=True)
os.makedirs(os.path.join(datadir, 'stdout'), exist_ok=True)
return datadir
def get_datadir_path(dirname, n):