提交 6c0350dd 编写于 作者: R969857396's avatar R969857396 提交者: Mia

fixed a6bf5f14 from https://gitee.com/mia_0811/xts_acts/pulls/680

update security_lite/permission_posix/pms/src/ActsPMSSaveTest.cpp: create parent dir
创建父目录, 否则后续目录创建失败,导致测试用例失败。
Signed-off-by: R969857396's avatarLuo Xiaogang <lxgrxd@163.com>
上级 058c6634
...@@ -217,6 +217,8 @@ void SubTestWithoutCheck(const char *identifier, int taskID) ...@@ -217,6 +217,8 @@ void SubTestWithoutCheck(const char *identifier, int taskID)
void CreateAppDir(void) void CreateAppDir(void)
{ {
mkdir("/storage", DIR_MODE);
mkdir("/storage/app", DIR_MODE);
int ret = mkdir(ETC_PREFIX, DIR_MODE); int ret = mkdir(ETC_PREFIX, DIR_MODE);
if (ret) { if (ret) {
printf("create dir %s error\n", ETC_PREFIX); printf("create dir %s error\n", ETC_PREFIX);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册