diff --git a/security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp b/security_lite/permission_posix/pms/src/ActsPMSLoadTest.cpp index 0caa98f248ba950b8da111e93370dbdaba46cda5..e3f1c5b7e4d703c50d82090b759114e9ecfe87d4 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 +}