Apparently, test_bitcoin has been silently corrupting $DATADIR/blocks/blk00000.dat and rev00000.dat since ultraprune was merged...
Make test_bitcoin run in a temp datadir #2049
pull sipa wants to merge 2 commits into bitcoin:master from sipa:testtmp changing 3 files +30 −0-
sipa commented at 9:02 PM on November 28, 2012: member
-
Add GetTempPath() to util 597fa4cd63
-
Make test_bitcoin run in a temp datadir 487db8a2b1
-
BitcoinPullTester commented at 9:41 PM on November 29, 2012: none
Automatic sanity-testing: PASSED, see http://jenkins.bluematt.me/pull-tester/487db8a2b134d8ef62dff09e29bcc266d2883eec for binaries and test log.
-
jgarzik commented at 10:29 PM on November 30, 2012: contributor
Pretty decent. Only nit: Unix standard is $TMPDIR, and fall back to hardcoded /tmp if that fails. But maybe boost already covers that.
-
gavinandresen commented at 10:43 PM on November 30, 2012: contributor
ACK
-
jgarzik commented at 11:55 PM on November 30, 2012: contributor
ACK
- sipa referenced this in commit da26a030b3 on Nov 30, 2012
- sipa merged this on Nov 30, 2012
- sipa closed this on Nov 30, 2012
- sipa deleted the branch on May 3, 2013
- laudney referenced this in commit 3cf5c5ea5c on Mar 19, 2014
- DrahtBot locked this on Sep 8, 2021
Contributors