svn commit: samba r8884 - in
branches/SAMBA_4_0/source/script/tests: .
tridge at samba.org
tridge at samba.org
Mon Aug 1 16:12:22 GMT 2005
Author: tridge
Date: 2005-08-01 16:12:21 +0000 (Mon, 01 Aug 2005)
New Revision: 8884
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=8884
Log:
valgrind error logs only matter if non-zero in size
Modified:
branches/SAMBA_4_0/source/script/tests/selftest.sh
Changeset:
Modified: branches/SAMBA_4_0/source/script/tests/selftest.sh
===================================================================
--- branches/SAMBA_4_0/source/script/tests/selftest.sh 2005-08-01 16:12:19 UTC (rev 8883)
+++ branches/SAMBA_4_0/source/script/tests/selftest.sh 2005-08-01 16:12:21 UTC (rev 8884)
@@ -152,9 +152,11 @@
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
More information about the samba-cvs
mailing list