未验证 提交 a569f356 编写于 作者: Z zhuqingxi 提交者: Gitee

update hiviewdfx/faultloggertest/faultloggercpptest/faultloggertest.cpp.

Signed-off-by: Nzhuqingxi <zhuqingxi@huawei.com>
上级 5f62acc8
...@@ -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.
先完成此消息的编辑!
想要评论请 注册