This turns out to be required to produce correct metalog output.
Fix metalog output to be relative to DESTDIR.While here,
Rework the tests so they're agnostic to DISTBASE and add a testcase* Don't rely on X509_NAME_oneline() if we can avoid it.
that verifies (part of) the* Fix metalog, and account for a recent change output to be relative to DESTDIR.
* Rework the tests so they're agnostic to DISTBASE.
* Account for a recent change in openssl storeutll.
* Add several new tests.
Reported by: jrtc27, kp
Fixes: 81d8827ad875 ("certctl: Reimplement in C")