Fixes #11192
The directory remains unused, but this stops the tests touching ~/.bitcoin at all (namely creating it if it doesn’t exist)
Fixes #11192
The directory remains unused, but this stops the tests touching ~/.bitcoin at all (namely creating it if it doesn’t exist)
52@@ -53,6 +53,10 @@ int main(int argc, char *argv[])
53 SetupNetworking();
54 SelectParams(CBaseChainParams::MAIN);
55 noui_connect();
56+ ClearDatadirCache();
src/test/test_bitcoin.cpp
~/.bitcoin
) but this can be done in a separate PR
~/.bitcoin
istn’t touched implies that something creates it first. Not sure if we want that in our .travis.yml
.
~/.bitcoin
still doesn’t exist at the end?
Iirc we did that and it failed occasionally. This is on my list of things to take a look at …
On Nov 10, 2017 04:06, “Luke Dashjr” notifications@github.com wrote:
@MarcoFalke https://github.com/marcofalke Eh, we can just add a check that ~/.bitcoin still doesn’t exist at the end?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/bitcoin/bitcoin/pull/11210#issuecomment-343417188, or mute the thread https://github.com/notifications/unsubscribe-auth/AGGmv7gKKJCFcDv-SytUAyUvBZFKuA32ks5s1BIcgaJpZM4PKBvu .