[Tests] Write stdout/stderr to datadir instead of temp file.
This commit is contained in:
1 parent
4a50ec0efd
commit
c22ce8a7b8
3 files changed
+21
-9
No files matched your search
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user