bash settings in tests

This commit is contained in:
Nathaniel Landau
2021-08-20 14:44:06 -04:00
parent 7f5aa3a19d
commit cb97629089
6 changed files with 73 additions and 8 deletions

View File

@@ -53,9 +53,16 @@ setup() {
FORCE=false
DRYRUN=false
set -o errtrace
set -o nounset
set -o pipefail
}
teardown() {
set +o nounset
set +o errtrace
set +o pipefail
popd &>/dev/null
temp_del "${TESTDIR}"
}