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

refs #5368 fix options to grep


git-svn-id: file:///svn/toku/tokudb@48173 c7de825b-a66e-492c-adef-691d508d4ae1
parent 50b21646
......@@ -39,7 +39,7 @@ valgrind $args
exitcode=$?
if [ $exitcode = 0 ] ; then
# ignore "empty" valgrind lines, and ignore the warning about not running well on OSX 10.8 that start with WARNING:
lines=`grep -v '==\ WARNING:\ ' $logfile | grep -v '--[0-9]\+:[0-9]\+:syswrap-\ WARNING:\ Ignoring\ sigreturn\(\ \.\.\.,\ UC_RESET_ALT_STACK\ \);' | grep -v '^==[0-9]\+==\ $' | grep -v '^$' | grep -v '^UNKNOWN\ task\ message\ \[id\ 3403,\ to\ mach_task_self(),\ reply' | wc -l`
lines=`grep -v '==\ WARNING:\ ' $logfile | grep -v '[-]-[0-9]\+:[0-9]\+:syswrap-\ WARNING:\ Ignoring\ sigreturn\(\ \.\.\.,\ UC_RESET_ALT_STACK\ \);' | grep -v '^==[0-9]\+==\ $' | grep -v '^$' | grep -v '^UNKNOWN\ task\ message\ \[id\ 3403,\ to\ mach_task_self(),\ reply' | wc -l`
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