1 Star 0 Fork 43

gaohuatao/src-iSulad

forked from src-openEuler/iSulad 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0012-print-valgrind-log.patch 864 Bytes
一键复制 编辑 原始数据 按行查看 历史
wangfengtu 提交于 2021-12-02 17:07 . sync patches from upstream
From cd3cda2bf3880d1e805406cba6e5c6510ef8832b Mon Sep 17 00:00:00 2001
From: zhangxiaoyu <[email protected]>
Date: Wed, 1 Dec 2021 10:14:33 +0800
Subject: [PATCH 12/14] print valgrind log
Signed-off-by: zhangxiaoyu <[email protected]>
---
CI/test_cases/helpers.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/CI/test_cases/helpers.sh b/CI/test_cases/helpers.sh
index 27f04749..dd1bf943 100755
--- a/CI/test_cases/helpers.sh
+++ b/CI/test_cases/helpers.sh
@@ -146,7 +146,7 @@ function check_valgrind_log() {
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
+ cat $valgrind_log
exit 1
fi
return 0
--
2.25.1
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/gaohuatao/src-iSulad.git
[email protected]:gaohuatao/src-iSulad.git
gaohuatao
src-iSulad
src-iSulad
master

搜索帮助