Added argument parsing and test checks

This commit is contained in:
thibault.dewailly
2016-04-17 23:10:47 +02:00
parent f829cdacf2
commit fa98efc32b
3 changed files with 32 additions and 1 deletions

View File

@ -58,6 +58,8 @@ cecho () {
crit () {
[ $MACHINE_LOG_LEVEL -ge 1 ] && _logger $BRED "[ KO ] $*"
# This variable incrementation is used to measure failure or success in tests
CRITICAL_ERRORS_NUMBER=$((CRITICAL_ERRORS_NUMBER+1))
}
warn () {