summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--regress/test-exec.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/test-exec.sh b/regress/test-exec.sh
index a0bff3112..f699f34d6 100644
--- a/regress/test-exec.sh
+++ b/regress/test-exec.sh
@@ -587,6 +587,21 @@ start_sshd ()
587 587
588# kill sshd 588# kill sshd
589cleanup 589cleanup
590
591if [ "x$USE_VALGRIND" != "x" ]; then
592 # wait for any running process to complete
593 wait; sleep 1
594 VG_ERROR=0
595 for i in $OBJ/valgrind-out/*; do
596 if grep "ERROR SUMMARY" $i >/dev/null && \
597 ! grep "ERROR SUMMARY: 0 errors" $i >/dev/null; then
598 RESULT=1
599 verbose valgrind failure $i
600 cat $i
601 fi
602 done
603fi
604
590if [ $RESULT -eq 0 ]; then 605if [ $RESULT -eq 0 ]; then
591 verbose ok $tid 606 verbose ok $tid
592else 607else