HomePhabricator

[backport#15415] [test] functional: allow custom cwd, use tmpdir as default

Description

[backport#15415] [test] functional: allow custom cwd, use tmpdir as default

Summary:
[test] functional: set cwd of nodes to tmpdir (Sjors Provoost)

Pull request description:

Any process launched by bitcoind will have `self.datadir` as its `cwd`.

https://github.com/bitcoin/bitcoin/pull/15415/commits/e3e1a5631e2456bb40844862ef35c07c1d1c47b0


Depends on D7080

Backport of Core PR15415

Test Plan:

ninja
test_runner.py

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D7081

Details

Provenance
MarcoFalke <falke.marco@gmail.com>Authored on Feb 19 2019, 15:12
majcostaCommitted on Jul 30 2020, 00:32
majcostaPushed on Jul 30 2020, 00:32
Reviewer
Restricted Project
Differential Revision
D7081: [backport#15415] [test] functional: allow custom cwd, use tmpdir as default
Parents
rABC0d7f8ccb11b4: [backport#14519] tests: add utility to easily profile node performance with perf
Branches
Unknown
Tags
Unknown