diff options
-rw-r--r-- | regress/test-exec.sh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh index 2e1edd516..508b93284 100644 --- a/regress/test-exec.sh +++ b/regress/test-exec.sh | |||
@@ -597,12 +597,12 @@ if [ "x$USE_VALGRIND" != "x" ]; then | |||
597 | wait; sleep 1 | 597 | wait; sleep 1 |
598 | VG_RESULTS=$(find $OBJ/valgrind-out -type f -print) | 598 | VG_RESULTS=$(find $OBJ/valgrind-out -type f -print) |
599 | VG_RESULT_COUNT=0 | 599 | VG_RESULT_COUNT=0 |
600 | VG_ERROR_COUNT=0 | 600 | VG_FAIL_COUNT=0 |
601 | for i in $VG_RESULTS; do | 601 | for i in $VG_RESULTS; do |
602 | if grep "ERROR SUMMARY" $i >/dev/null; then | 602 | if grep "ERROR SUMMARY" $i >/dev/null; then |
603 | VG_RESULT_COUNT=$(($VG_RESULT_COUNT + 1)) | 603 | VG_RESULT_COUNT=$(($VG_RESULT_COUNT + 1)) |
604 | if ! grep "ERROR SUMMARY: 0 errors" $i >/dev/null; then | 604 | if ! grep "ERROR SUMMARY: 0 errors" $i >/dev/null; then |
605 | VG_ERROR_COUNT=$(($VG_ERROR_COUNT + 1)) | 605 | VG_FAIL_COUNT=$(($VG_FAIL_COUNT + 1)) |
606 | RESULT=1 | 606 | RESULT=1 |
607 | verbose valgrind failure $i | 607 | verbose valgrind failure $i |
608 | cat $i | 608 | cat $i |
@@ -612,7 +612,7 @@ if [ "x$USE_VALGRIND" != "x" ]; then | |||
612 | if [ x"$VG_SKIP" != "x" ]; then | 612 | if [ x"$VG_SKIP" != "x" ]; then |
613 | verbose valgrind skipped | 613 | verbose valgrind skipped |
614 | else | 614 | else |
615 | verbose valgrind results $VG_RESULT_COUNT errors $VG_ERROR_COUNT | 615 | verbose valgrind results $VG_RESULT_COUNT failures $VG_FAIL_COUNT |
616 | fi | 616 | fi |
617 | fi | 617 | fi |
618 | 618 | ||