shithub: mc

Download patch

ref: 2f5f1d3d30406b78123e934998a681d90ced60a0
parent: cef9f9cc57105139c4157fdfb14036c724271271
author: Ori Bernstein <[email protected]>
date: Tue Feb 5 19:58:32 EST 2013

Print success when all tests pass.

--- a/test/test.sh
+++ b/test/test.sh
@@ -91,4 +91,8 @@
         P) prints $tst $val ;;
     esac
 done
-echo "FAILURES ($NFAILED)": $FAILED
+if [ -z "$NFAILED" ]; then
+    echo "SUCCESS"
+else
+    echo "FAILURES ($NFAILED)": $FAILED
+fi