提交 9e747eef 编写于 作者: O openeuler-ci-bot 提交者: Gitee

!401 CI: fix wrong grep for valigrind log

Merge pull request !401 from lifeng_isula/master
......@@ -92,7 +92,7 @@ function check_valgrind_log() {
sleep 1
fi
cat $valgrind_log | grep "are definitely lost" | grep "==$pid"
cat $valgrind_log | grep "are definitely lost" | grep "==$pid=="
if [ $? -eq 0 ];then
echo "Memory leak may checked by valgrind, see valgrind log file: $valgrind_log"
sed -n '/definitely lost/,// p' $valgrind_log
......
......@@ -147,7 +147,7 @@ function check_valgrind_log() {
sleep 1
fi
cat $valgrind_log | grep "are definitely lost" | grep $pid
cat $valgrind_log | grep "are definitely lost" | grep "==$pid=="
if [ $? -eq 0 ];then
echo "Memory leak may checked by valgrind, see valgrind log file: $valgrind_log"
sed -n '/definitely lost/,// p' $valgrind_log
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册