test: splits monolith into a bats file for each subcommand

This commit is contained in:
Lewis Wynne 2026-04-02 11:39:48 +01:00
parent b6fde582bb
commit 2a3c9f264f
10 changed files with 535 additions and 458 deletions

View file

@ -17,3 +17,8 @@ teardown() {
run_nag() {
run "${_NAG}" --yes "$@"
}
write_alarm() {
mkdir -p "${NAG_DIR}"
printf "%s\\n" "$1" >> "${NAG_DIR}/alarms"
}