diff --git a/test.sh b/test.sh index cf5adff..ac97a2a 100755 --- a/test.sh +++ b/test.sh @@ -17,6 +17,9 @@ _SUBTEST() { echo -n " + ${1} " } _PASS() { + if [[ ! -z "$(cat errorlog)" ]]; then + _FAIL + fi echo -e "[\u001B[32mPASS\u001B[0m]" } _FAIL() {