Page MenuHomePhabricator

test: Clear forced -walletdir setting after wallet init_tests
ClosedPublic

Authored by PiRK on Sep 13 2022, 12:26.

Details

Summary

Leaving this value set interfered with the CreateWallet test if it happened to execute later in the test ordering. Specifically it would cause CreateWallet test to write data to the current directory instead of temporary test directory.

This is a backport of core#20932 [1/2]
https://github.com/bitcoin/bitcoin/pull/20932/commits/66576c4fd532ac18b8b355ea93d25581a2c15654

Depends on D11969

Test Plan

ninja check

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable