knot: add functional test.sh covering all CLI subpackages
authorAlexandru Ardelean <redacted>
Mon, 25 May 2026 15:55:57 +0000 (18:55 +0300)
committerAlexandru Ardelean <redacted>
Sat, 30 May 2026 06:31:17 +0000 (09:31 +0300)
commitcd7c9dd6b85cadc7b89d72f96ec107ec85c6c485
treecf8555ec57a5ce1549838e69b04026427a2b1561
parent106acb977423cc4325ae796652f36ef7375bdb6d
knot: add functional test.sh covering all CLI subpackages

Cover each user-facing subpackage with a real functional check instead
of relying solely on the CI's generic --version probe:

- knot:           knotc conf-check on a minimal YAML server config
- knot-dig:       kdig -h (CLI parser smoke check)
- knot-host:      khost -h
- knot-nsupdate:  feed 'quit' through the REPL
- knot-zonecheck: validate a minimal example.com zone file end to end
- knot-keymgr:    initialise a KASP DB in a temp directory

knot-libs, knot-libzscanner, and knot-tests are library/harness
subpackages; the generic ELF/SONAME checks already cover them.

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