mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-12-01 16:31:33 +01:00
04e4d52420test: add test for specifying custom pidfile via `-pid` (Sebastian Falbesoner)b832ffe044refactor: introduce default pid file name constant in tests (tdb3) Pull request description: This small PR adds test coverage for the `-pid` command line option, which allows to overrule the pid filename (`bitcoind.pid` by default). One can specify either a relative path (within the datadir) or an absolute one; the latter is tested using `self.options.tmpdir`. Note that the functional test file `feature_init.py` so far only contained a stress test; with this new sub-test added, both the description and the test name are adapted to be more generic. ACKs for top commit: achow101: ACK04e4d52420tdb3: ACK04e4d52420ryanofsky: Code review ACK04e4d52420naiyoma: Tested ACK [04e4d52420) Tree-SHA512: b2bc8a790e5d187e2c84345f344f65a176b62caecd9797c3b9edf10294c741c33a24e535be640b56444b91dcf9c65c7dd152cdffd8b1c1d9ca68e5e3c6ad1e99