Fill the framework gaps the Makefile already referenced: scripts/test.sh
(wrapper over tests/run-tests.sh, now exercised by the pre-push full
audit) and up.sh/down.sh stubs for this non-compose repo. Extend
kuma-fleet-sync STATIC_GEAR with the fixed network/office devices
(printer, consrv, tsys6/7 OOB, scanners, label printer, r1-tor-top,
DOME) so future runs keep their ICMP monitors in sync; DOME added
paused like the other known-down systems.
💘 Generated with Crush
Assisted-by: Crush:glm-5.2
19 lines
535 B
Bash
Executable File
19 lines
535 B
Bash
Executable File
#!/usr/bin/bash
|
|
#
|
|
# test.sh — project test runner (framework entry point).
|
|
#
|
|
# Wraps the legacy suite in tests/ so `make test` and the pre-push full
|
|
# audit (scripts/check-rules.sh) have a single canonical entry point.
|
|
# The legacy suite sources the vendored KNELShellFramework; if that ever
|
|
# breaks, add standalone checks here rather than forking the runner.
|
|
#
|
|
set -uo pipefail
|
|
cd "$(dirname "${BASH_SOURCE[0]}")/.." || exit 1
|
|
|
|
status=0
|
|
if [ -f tests/run-tests.sh ]; then
|
|
bash tests/run-tests.sh || status=1
|
|
fi
|
|
|
|
exit "$status"
|