HomePhabricator

test: Report InitBlockIndex result

Description

test: Report InitBlockIndex result

Summary:
If InitBlockIndex fails, then it will segfault later. Same for the later
ActivateBestChain. BOOST_REQUIRE the result, so that an error will be
reported and the test case aborted.

Backport of core's PR9904

Test Plan:

make check

Reviewers: schancel, #bitcoin_abc, dagurval

Reviewed By: #bitcoin_abc, dagurval

Differential Revision: https://reviews.bitcoinabc.org/D903

Details

Provenance
Wladimir J. van der Laan <laanwj@gmail.com>Authored on Mar 2 2017, 13:49
deadalnixCommitted on Jan 7 2018, 22:40
deadalnixPushed on Jan 7 2018, 22:53
Reviewer
Restricted Project
Differential Revision
D903: test: Report InitBlockIndex result
Parents
rSTAGINGe524f64f8d5c: Add undocumented -forcecompactdb to force LevelDB compactions
Branches
Unknown
Tags
Unknown
References
tag: phabricator/base/2413, tag: phabricator/base/2412, tag: phabricator/base/2411

Event Timeline