提交 91e406dd 编写于 作者: O openharmony_ci 提交者: Gitee

!1331 [hiviewdfx]代码上库

Merge pull request !1331 from zhuqingxi/master
...@@ -130,7 +130,7 @@ HWTEST_F(faultloggertest, Faultlogger_Faultdetect1, Function|MediumTest|Level1) ...@@ -130,7 +130,7 @@ HWTEST_F(faultloggertest, Faultlogger_Faultdetect1, Function|MediumTest|Level1)
string fileinfo; string fileinfo;
fileinfo = ReadFile("/data/log/faultlog/temp/" + faultloggerfile); fileinfo = ReadFile("/data/log/faultlog/temp/" + faultloggerfile);
std::vector<std::string> para = {"Pid:" + to_string(pid), "Uid:0", std::vector<std::string> para = {"Pid:" + to_string(pid), "Uid:0",
"Process name:./data/local/tmp/faultloggertest", "Process name:/data/local/tmp/faultloggertest",
"Reason:Signal:SIGILL", "Fault thread Info:", "Reason:Signal:SIGILL", "Fault thread Info:",
"Tid:" + to_string(pid), "Name:faultloggertest"}; "Tid:" + to_string(pid), "Name:faultloggertest"};
if (!fileinfo.empty()) { if (!fileinfo.empty()) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册