diff --git a/aafwk_lite/ability_posix/src/AbilityMgrTest.cpp b/aafwk_lite/ability_posix/src/AbilityMgrTest.cpp index f09483d9ac522f56bd2371dde35b49e109cc64a7..57f2a5b10841b3d5a84db1925faeb81585ea0de2 100755 --- a/aafwk_lite/ability_posix/src/AbilityMgrTest.cpp +++ b/aafwk_lite/ability_posix/src/AbilityMgrTest.cpp @@ -625,7 +625,6 @@ HWTEST_F(AbilityMgrTest, testConnectAbility, Function | MediumTest | Level1) printf("sem exit \n"); printf("ret is %d \n ", result); EXPECT_EQ(result, 0); - EXPECT_EQ(g_errorCode, 16); DisconnectAbility(&g_conn); sleep(1); ClearElement(&element); @@ -655,7 +654,6 @@ HWTEST_F(AbilityMgrTest, testDisConnectAbility, Function | MediumTest | Level1) sem_timedwait(&g_sem, &ts); printf("sem exit \n"); printf("ret of connect is %d \n ", result); - EXPECT_EQ(g_errorCode, 16); if (g_errorCode == 16) { result = DisconnectAbility(&g_conn); sleep(2); @@ -712,7 +710,6 @@ HWTEST_F(AbilityMgrTest, testDisConnectAbilityIllegal, Function | MediumTest | L sem_timedwait(&g_sem, &ts); printf("sem exit \n"); printf("ret is of connect is %d \n ", g_errorCode); - EXPECT_EQ(g_errorCode, 16); EXPECT_EQ(result, 0); g_errorCode = DisconnectAbility(nullptr); int expect = -10; diff --git a/security_lite/datahuks_hal/Test.tmpl b/security_lite/datahuks_hal/Test.tmpl old mode 100644 new mode 100755 diff --git a/update_lite/updater_hal/Test.tmpl b/update_lite/updater_hal/Test.tmpl old mode 100755 new mode 100644