lmdb: add a test-version.sh version-check override
authorAlexandru Ardelean <redacted>
Fri, 22 May 2026 05:08:32 +0000 (08:08 +0300)
committerAlexandru Ardelean <redacted>
Sun, 24 May 2026 12:57:00 +0000 (15:57 +0300)
commitded6d8cc676df950ef3f18e32be03133ab7a1d4b
treecf865faff64e0d4acb90f6af1804f24677149594
parent887bf527be8535813f85d0c16daa51dcd8a7ea07
lmdb: add a test-version.sh version-check override

lmdb-test ships /usr/bin/mtest, a stress test that unconditionally
opens ./testdb in the current directory and aborts (SIGABRT) when
that directory is missing. In the CI runtime container that's
always the case, so the framework's --version probe ends up with
"Aborted" output, no PKG_VERSION match, and the package gets
reported as "Generic tests failed - No executables in the package
provided version 0.9.35".

Add libs/lmdb/test-version.sh that handles each sub-package by name:
lmdb (library) and lmdb-test (no usable version probe) pass the
override, lmdb-utils runs 'mdb_dump -V' and matches against
PKG_VERSION, and unknown sub-packages fail loudly to force this
script to be updated. The other generic checks (no hardcoded paths,
stripped, linked libs) still run for every binary.

Signed-off-by: Alexandru Ardelean <redacted>
libs/lmdb/test-version.sh [new file with mode: 0755]
git clone https://git.99rst.org/PROJECT