提交 eeefaf16 编写于 作者: H hujixiang1

hujixiang1@huawei.com

Signed-off-by: Nhujixiang1 <hujixiang1@huawei.com>
Change-Id: I22b1e2f09d869a92744bdbbc56b0cb68d8f03d37
上级 ac1dceda
......@@ -434,11 +434,7 @@ HWTEST_F(ActsPMSLoadTest, testSecPMPMS_0850, Function | MediumTest | Level4)
ret = LoadPermissions(SUBTEST_APP_ID, TEST_TASKID);
EXPECT_EQ(ret, PERM_ERRORCODE_SUCCESS) << "load ret = " << ret << endl;
ret = LoadPermissions(PERMISSION_EMPTY, TEST_TASKID);
#ifndef __LINUX__
EXPECT_EQ(ret, PERM_ERRORCODE_STAT_FAIL) << "load ret = " << ret << endl;
#else
EXPECT_EQ(ret, PERM_ERRORCODE_READFD_FAIL) << "load ret = " << ret << endl;
#endif
ret = LoadPermissions(PERMISSION_TOOLONG, TEST_TASKID);
EXPECT_EQ(ret, PERM_ERRORCODE_SUCCESS) << "load ret = " << ret << endl;
ret = LoadPermissions(PERMISSION_UNSUPPORTED, TEST_TASKID);
......@@ -480,4 +476,4 @@ HWTEST_F(ActsPMSLoadTest, testSecPMPMS_0880, Function | MediumTest | Level4)
EXPECT_EQ(ret, PERM_ERRORCODE_JSONPARSE_FAIL) << "load ret = " << ret << endl;
UnLoadPermissions(TEST_TASKID);
DeletePermissions(TEST_APP_ID);
}
\ No newline at end of file
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册