From eeefaf16871db3b5b703d54d72cd022917f0afb2 Mon Sep 17 00:00:00 2001 From: hujixiang1 Date: Sat, 18 Sep 2021 15:11:25 +0800 Subject: [PATCH] hujixiang1@huawei.com Signed-off-by: hujixiang1 Change-Id: I22b1e2f09d869a92744bdbbc56b0cb68d8f03d37 --- security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp b/security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp index 0caa98f24..e3f1c5b7e 100755 --- a/security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp +++ b/security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp @@ -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 +} -- GitLab