提交 583fedb9 编写于 作者: dengyihao's avatar dengyihao

Merge branch 'enh/rocksRevert' of https://github.com/taosdata/TDengine into enh/rocksRevert

...@@ -36,7 +36,6 @@ TAOS_DIR=`pwd` ...@@ -36,7 +36,6 @@ TAOS_DIR=`pwd`
LOG_DIR=$TAOS_DIR/sim/$NODE_NAME/log LOG_DIR=$TAOS_DIR/sim/$NODE_NAME/log
error_summary=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "ERROR SUMMARY:" | awk '{print $4}' | awk '{sum+=$1}END{print sum}'` error_summary=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "ERROR SUMMARY:" | awk '{print $4}' | awk '{sum+=$1}END{print sum}'`
still_reachable=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "still reachable in" | wc -l`
definitely_lost=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "definitely lost in" | wc -l` definitely_lost=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "definitely lost in" | wc -l`
indirectly_lost=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "indirectly lost in " | wc -l` indirectly_lost=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "indirectly lost in " | wc -l`
possibly_lost=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "possibly lost in " | wc -l` possibly_lost=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "possibly lost in " | wc -l`
...@@ -46,7 +45,6 @@ invalid_free=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "Invalid free() " | wc ...@@ -46,7 +45,6 @@ invalid_free=`cat ${LOG_DIR}/valgrind-taosd-*.log | grep "Invalid free() " | wc
if [ $DETAIL -eq 1 ]; then if [ $DETAIL -eq 1 ]; then
echo error_summary: $error_summary echo error_summary: $error_summary
echo still_reachable: $still_reachable
echo definitely_lost: $definitely_lost echo definitely_lost: $definitely_lost
echo indirectly_lost: $indirectly_lost echo indirectly_lost: $indirectly_lost
echo possibly_lost: $possibly_lost echo possibly_lost: $possibly_lost
...@@ -55,5 +53,5 @@ if [ $DETAIL -eq 1 ]; then ...@@ -55,5 +53,5 @@ if [ $DETAIL -eq 1 ]; then
echo invalid_free: $invalid_free echo invalid_free: $invalid_free
fi fi
let "errors=$error_summary+$still_reachable+$definitely_lost+$indirectly_lost+$possibly_lost+$invalid_read+$invalid_write+$invalid_free" let "errors=$error_summary+$definitely_lost+$indirectly_lost+$possibly_lost+$invalid_read+$invalid_write+$invalid_free"
echo $errors echo $errors
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册