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:40
Reviewer
Restricted Project
Differential Revision
D903: test: Report InitBlockIndex result
Parents
rABCe524f64f8d5c: Add undocumented -forcecompactdb to force LevelDB compactions
Branches
Unknown
Tags
Unknown

Event Timeline

deadalnix committed rABC419c76905010: test: Report InitBlockIndex result (authored by Wladimir J. van der Laan <laanwj@gmail.com>).Jan 7 2018, 22:40