diff --git a/tests/Makefile b/tests/Makefile index 850ff7bc7..6489e52b8 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -417,9 +417,9 @@ ifndef WINDOWS do \ echo " - $${i}"; \ RESULT=`$(CHECK_PRELOAD) ./$${i} | grep -v 'PASS$$' | grep -v -- '----' | grep -v '^$$'`; \ - FAILED=`echo $$RESULT |grep FAILED`; \ + PASSED=`echo $$RESULT |grep PASSED`; \ echo " $$RESULT"; \ - if [ "$$FAILED" != "" ]; \ + if [ "$$PASSED" == "" ]; \ then \ echo "**** Failed ***************"; \ RETURN=1; \