feat: moved to an actual directory, moving from /nag[f] to /nag/alarms
This commit is contained in:
parent
5a71505dc2
commit
9de60f23cc
3 changed files with 22 additions and 24 deletions
|
|
@ -4,14 +4,13 @@
|
|||
_NAG="$(cd "$(dirname "${BATS_TEST_FILENAME}")/.." && pwd)/nag"
|
||||
|
||||
setup() {
|
||||
export NAG_PATH
|
||||
NAG_PATH="$(mktemp)"
|
||||
rm -f "${NAG_PATH}"
|
||||
export NAG_DIR
|
||||
NAG_DIR="$(mktemp -d)"
|
||||
export NAG_CMD="true"
|
||||
}
|
||||
|
||||
teardown() {
|
||||
rm -f "${NAG_PATH}" "${NAG_PATH}.lock"
|
||||
rm -rf "${NAG_DIR}"
|
||||
}
|
||||
|
||||
run_nag() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue