summaryrefslogtreecommitdiff
path: root/tests/test-lib.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test-lib.sh')
-rw-r--r--tests/test-lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-lib.sh b/tests/test-lib.sh
index 2dbfbcd..b3ce900 100644
--- a/tests/test-lib.sh
+++ b/tests/test-lib.sh
@@ -104,7 +104,7 @@ cleanup() {
checks_failed=`expr $checks_failed`
checks_total=`expr $checks_succeeded + $checks_failed`
if test $checks_total -gt 0 ; then
- if test $checks_failed -gt 0 -a $status -eq 0 ; then
+ if test $checks_failed -gt 0 && test $status -eq 0 ; then
status=1
fi
echo "$checks_total tests ($checks_succeeded passed," \