未验证 提交 deef4ad5 编写于 作者: O openharmony_ci 提交者: Gitee

!2145 Fix: 修改ut错误

Merge pull request !2145 from cheng_jinsong/0727_init
......@@ -428,8 +428,8 @@ static void PrepareAreaSizeFile(void)
"startup_param=20480\n"
"persist_param=2048\n"
"const_param=20480\n"
"test_watch=40960\n"
"test_read=40960\n"
"test_watch=81920\n"
"test_read=81920\n"
"const_param***=20480\n"
"persist_sys_param=2048\n";
CreateTestFile(PARAM_AREA_SIZE_CFG, ohosParamSize);
......
......@@ -200,12 +200,12 @@ static int RemoveDeviceNode(const char *deviceNode, char **symLinks)
continue;
}
if (STRINGEQUAL(deviceNode, realPath)) {
INIT_LOGI("unlink %s->%s", linkName);
INIT_LOGI("unlink %s", linkName);
unlink(linkName);
}
}
}
INIT_LOGI("unlink %s->%s", deviceNode);
INIT_LOGI("unlink %s", deviceNode);
return unlink(deviceNode);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册