diff --git a/hiviewdfx/faultloggertest/faultloggercpptest/faultloggertest.cpp b/hiviewdfx/faultloggertest/faultloggercpptest/faultloggertest.cpp index 0360a500a8d1943ef5b19da4e9969cb4804e0c54..c849baef808e25eb359fdc9f96ac7dc5daf3c341 100755 --- a/hiviewdfx/faultloggertest/faultloggercpptest/faultloggertest.cpp +++ b/hiviewdfx/faultloggertest/faultloggercpptest/faultloggertest.cpp @@ -130,7 +130,7 @@ HWTEST_F(faultloggertest, Faultlogger_Faultdetect1, Function|MediumTest|Level1) string fileinfo; fileinfo = ReadFile("/data/log/faultlog/temp/" + faultloggerfile); std::vector 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:", "Tid:" + to_string(pid), "Name:faultloggertest"}; if (!fileinfo.empty()) {