mirror of
https://github.com/ovh/debian-cis.git
synced 2025-06-23 11:04:32 +02:00
IMP: tests readability and runtime error handling
Change describe display to add underline in order to make it more noticeable in a stream of logs Add a `fatal` message when catching a runtime error (until `$totalerrors` has not been modified yet)
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
# describe <STRING>
|
||||
describe() {
|
||||
# shellcheck disable=2154
|
||||
printf "\033[36mxxx %s::%s \033[0m\n" "$name" "$*"
|
||||
printf "\033[4;36mxxx %s::%s \033[0m\n" "$name" "$*"
|
||||
}
|
||||
|
||||
# Register an assertion on an audit before running it
|
||||
|
Reference in New Issue
Block a user