test_bitcoin: Avoid read/write to default datadir
This commit is contained in:
parent
2ea7eb62b2
commit
ea80b81e2e
1 changed files with 2 additions and 0 deletions
|
@ -89,6 +89,7 @@ BOOST_AUTO_TEST_CASE(cnode_listen_port)
|
|||
|
||||
BOOST_AUTO_TEST_CASE(caddrdb_read)
|
||||
{
|
||||
SetDataDir("caddrdb_read");
|
||||
CAddrManUncorrupted addrmanUncorrupted;
|
||||
addrmanUncorrupted.MakeDeterministic();
|
||||
|
||||
|
@ -134,6 +135,7 @@ BOOST_AUTO_TEST_CASE(caddrdb_read)
|
|||
|
||||
BOOST_AUTO_TEST_CASE(caddrdb_read_corrupted)
|
||||
{
|
||||
SetDataDir("caddrdb_read_corrupted");
|
||||
CAddrManCorrupted addrmanCorrupted;
|
||||
addrmanCorrupted.MakeDeterministic();
|
||||
|
||||
|
|
Loading…
Reference in a new issue