refs #5368 fix tokuvalgrind to count lines and compare them with 0 properly

git-svn-id: file:///svn/toku/tokudb@48685 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Leif Walsh 2013-04-17 00:01:12 -04:00 committed by Yoni Fogel
parent 60b9631996
commit 74a2998434

View file

@ -38,7 +38,7 @@ fi
valgrind $args
exitcode=$?
if [ $exitcode = 0 ] ; then
lines=$(wc -l $logfile)
lines=$(wc -l <$logfile)
if [ $lines -ne 0 ] ; then
exitcode=$errorexitcode
fi