unbound: add test.sh
authorAlexandru Ardelean <redacted>
Wed, 6 May 2026 06:23:11 +0000 (09:23 +0300)
committerAlexandru Ardelean <redacted>
Wed, 6 May 2026 18:05:36 +0000 (21:05 +0300)
commit582e466d3cb116259c23451dc7a931be5d351601
tree4915a62481961fde3945d4839c87998f18fb6c28
parent0f34c18d6512c26c8e751a1d5c8ebaf0de217a74
unbound: add test.sh

unbound-control-setup is a shell script that generates TLS certificates
for unbound-control; it does not print a version string. The generic CI
test framework cannot verify the version via the binary, causing the
"No executables in the package provided version" failure.

Add a package-specific test.sh that:
 - tests unbound-daemon version via 'unbound -V' and config file presence
 - tests libunbound shared library presence
 - tests unbound-anchor/-checkconf/-control/-host binaries run and
   respond to -h without starting the daemon
 - tests unbound-control-setup as an installed, executable shell script
   containing expected keywords (no version check)

Signed-off-by: Alexandru Ardelean <redacted>
net/unbound/test.sh [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT