grep -s . $tmp2 >/dev/null
if [ $? = 0 ]; then
- echo "Tests that now fail, but worked before:"
+ num=`cat $tmp2 | wc -l`
+ echo "Tests that now fail, but worked before ($num tests):"
echo
cat $tmp2
echo
grep -s . $tmp2 >/dev/null
if [ $? = 0 ]; then
- echo "Tests that now work, but didn't before:"
+ num=`cat $tmp2 | wc -l`
+ echo "Tests that now work, but didn't before ($num tests):"
echo
cat $tmp2
[ -n "$strict" ] && echo "Strict test fails" && exit_status=1
grep -s . $tmp2 >/dev/null
if [ $? = 0 ]; then
- echo "New tests that FAIL:"
+ num=`cat $tmp2 | wc -l`
+ echo "New tests that FAIL ($num tests):"
echo
cat $tmp2
echo
grep -s . $tmp2 >/dev/null
if [ $? = 0 ]; then
- echo "New tests that PASS:"
+ num=`cat $tmp2 | wc -l`
+ echo "New tests that PASS ($num tests):"
echo
cat $tmp2
[ -n "$strict" ] && echo "Strict test fails" && exit_status=1
grep -s . $tmp2 >/dev/null
if [ $? = 0 ]; then
- echo "Old tests that passed, that have disappeared: (Eeek!)"
+ num=`cat $tmp2 | wc -l`
+ echo "Old tests that passed, that have disappeared ($num tests): (Eeek!)"
echo
cat $tmp2
[ -n "$strict" ] && echo "Strict test fails" && exit_status=1
grep -s . $tmp2 >/dev/null
if [ $? = 0 ]; then
- echo "Old tests that failed, that have disappeared: (Eeek!)"
+ num=`cat $tmp2 | wc -l`
+ echo "Old tests that failed, that have disappeared ($num tests): (Eeek!)"
echo
cat $tmp2
[ -n "$strict" ] && echo "Strict test fails" && exit_status=1