never PASS with content in errorlog

This commit is contained in:
Lukas Schauer
2015-12-17 18:40:45 +01:00
parent 85b3f1917f
commit 98fe9b3482

View File

@@ -17,6 +17,9 @@ _SUBTEST() {
echo -n " + ${1} "
}
_PASS() {
if [[ ! -z "$(cat errorlog)" ]]; then
_FAIL
fi
echo -e "[\u001B[32mPASS\u001B[0m]"
}
_FAIL() {