diff options
| author | MeshCollider <[email protected]> | 2017-09-05 15:02:17 +1200 |
|---|---|---|
| committer | MeshCollider <[email protected]> | 2017-09-05 15:02:17 +1200 |
| commit | d1138e36208dac87a27f415f39c70377636e93f1 (patch) | |
| tree | 9b76b6a063279c4a03028f7d07bfa92b299e8d87 /src/test/test_bitcoin.cpp | |
| parent | Merge #10701: Remove the virtual specifier for functions with the override sp... (diff) | |
| download | discoin-d1138e36208dac87a27f415f39c70377636e93f1.tar.xz discoin-d1138e36208dac87a27f415f39c70377636e93f1.zip | |
Remove redundant testutil files
Diffstat (limited to 'src/test/test_bitcoin.cpp')
| -rw-r--r-- | src/test/test_bitcoin.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index 94ec7c03f..194f62ca1 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -22,8 +22,6 @@ #include "rpc/register.h" #include "script/sigcache.h" -#include "test/testutil.h" - #include <memory> uint256 insecure_rand_seed = GetRandHash(); @@ -61,7 +59,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha RegisterAllCoreRPCCommands(tableRPC); ClearDatadirCache(); - pathTemp = GetTempPath() / strprintf("test_bitcoin_%lu_%i", (unsigned long)GetTime(), (int)(InsecureRandRange(100000))); + pathTemp = fs::temp_directory_path() / strprintf("test_bitcoin_%lu_%i", (unsigned long)GetTime(), (int)(InsecureRandRange(100000))); fs::create_directories(pathTemp); gArgs.ForceSetArg("-datadir", pathTemp.string()); |