Page MenuHomePhabricator

test: Report InitBlockIndex result
ClosedPublic

Authored by deadalnix on Jan 6 2018, 13:09.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Branch
initfail
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 1528
Build 1528: arc lint + arc unit