1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

r8884: valgrind error logs only matter if non-zero in size

(This used to be commit baaad4f4a4c84fb0261ab59d31a680f33b1beb47)
This commit is contained in:
Andrew Tridgell 2005-08-01 16:12:21 +00:00 committed by Gerald (Jerry) Carter
parent 66c270ba52
commit 6732229ccc

View File

@ -152,9 +152,11 @@ echo "END: $END ($0)";
list=`find $PREFIX -name 'valgrind.log*'`
if [ x$list != x ]; then
for f in $PREFIX/valgrind.log*; do
echo "VALGRIND FAILURE";
failed=`expr $failed + 1`
cat $f
if [ -s $f ]; then
echo "VALGRIND FAILURE";
failed=`expr $failed + 1`
cat $f
fi
done
fi