提交 b0c2f993 编写于 作者: Z zhuqingxi

fixed 520ca7aa from https://gitee.com/zhuqingxi/xts_acts/pulls/1331

update hiviewdfx/faultloggertest/faultloggercpptest/faultloggertest.cpp.
Signed-off-by: Nzhuqingxi <zhuqingxi@huawei.com>
上级 8b50902e
...@@ -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.
先完成此消息的编辑!
想要评论请 注册