`ninja all check-all`
Start `bitcoind` and verify for a few minutes that the error messages are no longer printed.
Run `bitcoind -debug=VALIDATION` and check that the error messages are logged.
```
2022-09-22T08:48:51Z ERROR: ContextualCheckBlockHeader: 0000000000000000029e471c41818d24b8b74c911071c4ef0b4a0509f9b5a8ce rejected by checkpoint lock-in at 661648
2022-09-22T08:48:55Z New outbound peer connected: version: 70015, blocks=662858, peer=10 (outbound-full-relay)
2022-09-22T08:48:56Z New outbound peer connected: version: 70015, blocks=758883, peer=12 (outbound-full-relay)
2022-09-22T08:49:03Z New outbound peer connected: version: 70016, blocks=713660, peer=13 (outbound-full-relay)
2022-09-22T08:49:08Z ERROR: ContextualCheckBlockHeader: 00000000000000000709b858a6a0c8610e604e77072ef4407763afb0780ce712 forked chain older than last checkpoint (height 662687)
```