test: splits monolith into a bats file for each subcommand
This commit is contained in:
parent
b6fde582bb
commit
2a3c9f264f
10 changed files with 535 additions and 458 deletions
|
|
@ -17,3 +17,8 @@ teardown() {
|
|||
run_nag() {
|
||||
run "${_NAG}" --yes "$@"
|
||||
}
|
||||
|
||||
write_alarm() {
|
||||
mkdir -p "${NAG_DIR}"
|
||||
printf "%s\\n" "$1" >> "${NAG_DIR}/alarms"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue