Commit dfc125a7 authored by Leif Walsh's avatar Leif Walsh Committed by Yoni Fogel

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
parent 2282c807
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment