You need to sign in or sign up before continuing.
提交 f8ae825a 编写于 作者: M Mupceet

init: fix_bug ut

Signed-off-by: NMupceet <laiguizhong@huawei.com>
Change-Id: Iec1427a70309af3f2a97356b6f45ae67260c9e33
上级 e8336c36
......@@ -143,7 +143,7 @@ cJSON *MakeSandboxJson(const char *sandboxFileName, const int MODE)
bool MakeFileByJson(cJSON * mJson, const char *sandboxFileName)
{
const std::string sandboxJsonPth = std::string("/etc/sandbox/") + std::string(TEST_SANDBOX_NAME);
const std::string sandboxJsonPth = std::string("/etc/sandbox/") + std::string(sandboxFileName);
const char* cSandboxJsonPth = sandboxJsonPth.c_str();
int fd = open(cSandboxJsonPth, O_RDWR | O_CREAT | O_TRUNC | O_CLOEXEC, 0644);
if (fd < 0) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册