fix: add capability and amend smoke testcase

add setrlimit,gethostname,gethostid and capability

Change-Id: I0d5f23cb87ec2731fb79e7c5cfbe1ce109ac158a
This commit is contained in:
wcc0
2021-07-01 16:44:26 +08:00
parent abbeca1cb2
commit c9d69e2d1b
10 changed files with 144 additions and 6 deletions

View File

@@ -128,10 +128,32 @@ HWTEST_F(MiscTest, ItTestMisc006, TestSize.Level0)
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
/*HWTEST_F(MiscTest, ItTestMisc007, TestSize.Level0)
HWTEST_F(MiscTest, ItTestMisc007, TestSize.Level0)
{
ItTestMisc007();
}*/
}
/* *
* @tc.name: IT_TEST_MISC_008
* @tc.desc: function for MiscTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(MiscTest, ItTestMisc008, TestSize.Level0)
{
ItTestMisc008();
}
/* *
* @tc.name: IT_TEST_MISC_009
* @tc.desc: function for MiscTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(MiscTest, ItTestMisc009, TestSize.Level0)
{
ItTestMisc009();
}
/* *
* @tc.name: IT_TEST_MISC_010
@@ -155,6 +177,17 @@ HWTEST_F(MiscTest, ItTestMisc006, TestSize.Level0)
ItTestMisc011();
}*/
/* *
* @tc.name: IT_TEST_MISC_012
* @tc.desc: function for MiscTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(MiscTest, ItTestMisc012, TestSize.Level0)
{
ItTestMisc012();
}
/* *
* @tc.name: IT_TEST_MISC_013
* @tc.desc: function for MiscTest