fix: 内源代码检视问题修改

1.删除测试用例中的需求单号和问题单号
2.部分格式问题
3.使用非安全函数问题

Signed-off-by: zhushengle <zhushengle@huawei.com>
Change-Id: I348bd9730f584fd3ebeb6d4245fe4a84c0c90c7d
This commit is contained in:
zhushengle
2022-03-14 14:37:02 +08:00
parent 87a7df48b8
commit a40f8383ee
71 changed files with 115 additions and 1431 deletions

View File

@@ -75,7 +75,6 @@ public:
* @tc.name: it_test_process_001
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess001, TestSize.Level0)
{
@@ -86,7 +85,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess001, TestSize.Level0)
* @tc.name: it_test_process_002
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess002, TestSize.Level0)
{
@@ -97,7 +95,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess002, TestSize.Level0)
* @tc.name: it_test_process_004
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess004, TestSize.Level0)
{
@@ -108,7 +105,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess004, TestSize.Level0)
* @tc.name: it_test_process_005
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess005, TestSize.Level0)
{
@@ -119,7 +115,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess005, TestSize.Level0)
* @tc.name: it_test_process_006
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess006, TestSize.Level0)
{
@@ -130,7 +125,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess006, TestSize.Level0)
* @tc.name: it_test_process_008
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess008, TestSize.Level0)
{
@@ -141,7 +135,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess008, TestSize.Level0)
* @tc.name: it_test_process_010
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess010, TestSize.Level0)
{
@@ -152,7 +145,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess010, TestSize.Level0)
* @tc.name: it_test_process_009
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess009, TestSize.Level0)
{
@@ -163,7 +155,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess009, TestSize.Level0)
* @tc.name: it_test_process_011
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess011, TestSize.Level0)
{
@@ -174,7 +165,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess011, TestSize.Level0)
* @tc.name: it_test_process_012
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess012, TestSize.Level0)
{
@@ -185,7 +175,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess012, TestSize.Level0)
* @tc.name: it_test_process_013
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess013, TestSize.Level0)
{
@@ -196,7 +185,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess013, TestSize.Level0)
* @tc.name: it_test_process_014
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess014, TestSize.Level0)
{
@@ -207,7 +195,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess014, TestSize.Level0)
* @tc.name: it_test_process_015
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess015, TestSize.Level0)
{
@@ -218,7 +205,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess015, TestSize.Level0)
* @tc.name: it_test_process_016
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess016, TestSize.Level0)
{
@@ -229,7 +215,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess016, TestSize.Level0)
* @tc.name: it_test_process_017
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess017, TestSize.Level0)
{
@@ -240,7 +225,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess017, TestSize.Level0)
* @tc.name: it_test_process_018
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess018, TestSize.Level0)
{
@@ -251,7 +235,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess018, TestSize.Level0)
* @tc.name: it_test_process_019
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess019, TestSize.Level0)
{
@@ -262,7 +245,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess019, TestSize.Level0)
* @tc.name: it_test_process_020
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess020, TestSize.Level0)
{
@@ -273,7 +255,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess020, TestSize.Level0)
* @tc.name: it_test_process_021
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess021, TestSize.Level0)
{
@@ -284,7 +265,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess021, TestSize.Level0)
* @tc.name: it_test_process_022
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess022, TestSize.Level0)
{
@@ -295,7 +275,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess022, TestSize.Level0)
* @tc.name: it_test_process_023
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess023, TestSize.Level0)
{
@@ -306,7 +285,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess023, TestSize.Level0)
* @tc.name: it_test_process_024
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess024, TestSize.Level0)
{
@@ -317,7 +295,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess024, TestSize.Level0)
* @tc.name: it_test_process_025
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess025, TestSize.Level0)
{
@@ -328,7 +305,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess025, TestSize.Level0)
* @tc.name: it_test_process_026
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess026, TestSize.Level0)
{
@@ -339,7 +315,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess026, TestSize.Level0)
* @tc.name: it_test_process_027
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess027, TestSize.Level0)
{
@@ -350,7 +325,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess027, TestSize.Level0)
* @tc.name: it_test_process_029
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess029, TestSize.Level0)
{
@@ -361,7 +335,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess029, TestSize.Level0)
* @tc.name: it_test_process_030
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess030, TestSize.Level0)
{
@@ -372,7 +345,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess030, TestSize.Level0)
* @tc.name: it_test_process_038
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess038, TestSize.Level0)
{
@@ -383,7 +355,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess038, TestSize.Level0)
* @tc.name: it_test_process_039
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess039, TestSize.Level0)
{
@@ -394,7 +365,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess039, TestSize.Level0)
* @tc.name: it_test_process_043
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess043, TestSize.Level0)
{
@@ -405,7 +375,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess043, TestSize.Level0)
* @tc.name: it_test_process_044
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess044, TestSize.Level0)
{
@@ -416,7 +385,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess044, TestSize.Level0)
* @tc.name: it_test_process_045
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: DTS202101040I5J4KP0H00
*/
HWTEST_F(ProcessProcessTest, ItTestProcess045, TestSize.Level0)
{
@@ -427,7 +395,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess045, TestSize.Level0)
* @tc.name: it_test_process_046
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: DTS202101040I5J4KP0H00
*/
HWTEST_F(ProcessProcessTest, ItTestProcess046, TestSize.Level0)
{
@@ -438,7 +405,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess046, TestSize.Level0)
* @tc.name: it_test_process_047
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: DTS202101040I5J4KP0H00
*/
HWTEST_F(ProcessProcessTest, ItTestProcess047, TestSize.Level0)
{
@@ -449,7 +415,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess047, TestSize.Level0)
* @tc.name: it_test_process_048
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: DTS202101040I5J4KP0H00
*/
HWTEST_F(ProcessProcessTest, ItTestProcess048, TestSize.Level0)
{
@@ -460,7 +425,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess048, TestSize.Level0)
* @tc.name: it_test_process_054
* @tc.desc: function for waitid: The waitid parameter is incorrect and the error code is verified.
* @tc.type: FUNC
* @tc.require: AR000E0QAB
*/
HWTEST_F(ProcessProcessTest, ItTestProcess054, TestSize.Level0)
{
@@ -471,7 +435,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess054, TestSize.Level0)
* @tc.name: it_test_process_061
* @tc.desc: function for killpg: The killpg parameter is incorrect and the error code is verified.
* @tc.type: FUNC
* @tc.require: AR000E0QAB
*/
HWTEST_F(ProcessProcessTest, ItTestProcess061, TestSize.Level0)
{
@@ -483,7 +446,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess061, TestSize.Level0)
* @tc.name: it_test_process_smp_001
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp001, TestSize.Level0)
{
@@ -494,7 +456,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp001, TestSize.Level0)
* @tc.name: it_test_process_smp_002
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp002, TestSize.Level0)
{
@@ -505,7 +466,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp002, TestSize.Level0)
* @tc.name: it_test_process_smp_003
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp003, TestSize.Level0)
{
@@ -516,7 +476,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp003, TestSize.Level0)
* @tc.name: it_test_process_smp_004
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp004, TestSize.Level0)
{
@@ -527,7 +486,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp004, TestSize.Level0)
* @tc.name: it_test_process_smp_005
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp005, TestSize.Level0)
{
@@ -538,7 +496,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp005, TestSize.Level0)
* @tc.name: it_test_process_smp_006
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp006, TestSize.Level0)
{
@@ -549,7 +506,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp006, TestSize.Level0)
* @tc.name: it_test_process_smp_007
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp007, TestSize.Level0)
{
@@ -560,7 +516,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp007, TestSize.Level0)
* @tc.name: it_test_process_smp_008
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcessSmp008, TestSize.Level0)
{
@@ -574,7 +529,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcessSmp008, TestSize.Level0)
* @tc.name: it_test_process_007
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess007, TestSize.Level0)
{
@@ -585,7 +539,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess007, TestSize.Level0)
* @tc.name: it_test_process_031
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess031, TestSize.Level0)
{
@@ -596,7 +549,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess031, TestSize.Level0)
* @tc.name: it_test_process_032
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess032, TestSize.Level0)
{
@@ -607,7 +559,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess032, TestSize.Level0)
* @tc.name: it_test_process_033
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess033, TestSize.Level0)
{
@@ -618,7 +569,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess033, TestSize.Level0)
* @tc.name: it_test_process_034
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess034, TestSize.Level0)
{
@@ -629,7 +579,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess034, TestSize.Level0)
* @tc.name: it_test_process_035
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess035, TestSize.Level0)
{
@@ -640,7 +589,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess035, TestSize.Level0)
* @tc.name: it_test_process_036
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess036, TestSize.Level0)
{
@@ -651,7 +599,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess036, TestSize.Level0)
* @tc.name: it_test_process_037
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess037, TestSize.Level0)
{
@@ -662,7 +609,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess037, TestSize.Level0)
* @tc.name: it_test_process_040
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess040, TestSize.Level0)
{
@@ -673,7 +619,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess040, TestSize.Level0)
* @tc.name: it_test_process_041
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess041, TestSize.Level0)
{
@@ -684,7 +629,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess041, TestSize.Level0)
* @tc.name: it_test_process_042
* @tc.desc: function for ProcessProcessTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessProcessTest, ItTestProcess042, TestSize.Level0)
{
@@ -696,7 +640,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess042, TestSize.Level0)
* @tc.desc: function for killpg:Sends a signal to the process group,
* Other processes in the process group can receive the signal.
* @tc.type: FUNC
* @tc.require: AR000E0QAB
*/
HWTEST_F(ProcessProcessTest, ItTestProcess053, TestSize.Level0)
{
@@ -707,7 +650,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess053, TestSize.Level0)
* @tc.name: it_test_process_055
* @tc.desc: function for waitid:To test the function of transferring different parameters of the waitid.
* @tc.type: FUNC
* @tc.require: AR000E0QAB
*/
HWTEST_F(ProcessProcessTest, ItTestProcess055, TestSize.Level0)
{
@@ -719,7 +661,6 @@ HWTEST_F(ProcessProcessTest, ItTestProcess055, TestSize.Level0)
* @tc.desc: function for killpg:Fork two processes. The killpg sends a signal to the current process group.
* The other two processes can receive the signal.
* @tc.type: FUNC
* @tc.require: AR000E0QAB
*/
HWTEST_F(ProcessProcessTest, ItTestProcess062, TestSize.Level0)
{

View File

@@ -70,11 +70,11 @@ static int Child(void)
ret = wait(&status);
status = WEXITSTATUS(status);
if (ret != pid) {
printf("wait child %d failed, is %u!\n", pid, ret);
printf("wait child %d failed, is %d!\n", pid, ret);
exit(__LINE__);
}
if (status != 255) { // 255, assert that function Result is equal to this.
printf("wait child status is 255, but is %d child is error line :%d \n", status, status);
printf("child is error line :%d \n", status);
exit(__LINE__);
}
} else {

View File

@@ -56,7 +56,6 @@ public:
* @tc.name: it_test_pthread_003
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread003, TestSize.Level0)
{
@@ -68,7 +67,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread003, TestSize.Level0)
* @tc.name: it_test_pthread_006
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread006, TestSize.Level0)
{
@@ -80,7 +78,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread006, TestSize.Level0)
* @tc.name: it_test_pthread_007
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread007, TestSize.Level0)
{
@@ -91,7 +88,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread007, TestSize.Level0)
* @tc.name: it_test_pthread_008
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread008, TestSize.Level0)
{
@@ -102,7 +98,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread008, TestSize.Level0)
* @tc.name: it_test_pthread_009
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread009, TestSize.Level0)
{
@@ -114,7 +109,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread009, TestSize.Level0)
* @tc.name: it_test_pthread_010
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread010, TestSize.Level0)
{
@@ -126,7 +120,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread010, TestSize.Level0)
* @tc.name: it_test_pthread_011
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread011, TestSize.Level0)
{
@@ -137,7 +130,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread011, TestSize.Level0)
* @tc.name: it_test_pthread_012
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread012, TestSize.Level0)
{
@@ -148,7 +140,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread012, TestSize.Level0)
* @tc.name: it_test_pthread_013
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread013, TestSize.Level0)
{
@@ -159,7 +150,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread013, TestSize.Level0)
* @tc.name: it_test_pthread_015
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread015, TestSize.Level0)
{
@@ -170,7 +160,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread015, TestSize.Level0)
* @tc.name: it_test_pthread_016
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread016, TestSize.Level0)
{
@@ -181,7 +170,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread016, TestSize.Level0)
* @tc.name: it_test_pthread_018
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread018, TestSize.Level0)
{
@@ -192,7 +180,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread018, TestSize.Level0)
* @tc.name: it_test_pthread_019
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread019, TestSize.Level0)
{
@@ -203,7 +190,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread019, TestSize.Level0)
* @tc.name: it_test_pthread_017
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread017, TestSize.Level0)
{
@@ -215,7 +201,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread017, TestSize.Level0)
* @tc.name: it_test_pthread_once_001
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadOnce001, TestSize.Level0)
{
@@ -226,7 +211,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadOnce001, TestSize.Level0)
* @tc.name: it_test_pthread_atfork_001
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadAtfork001, TestSize.Level0)
{
@@ -237,7 +221,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadAtfork001, TestSize.Level0)
* @tc.name: it_test_pthread_atfork_002
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadAtfork002, TestSize.Level0)
{
@@ -248,7 +231,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadAtfork002, TestSize.Level0)
* @tc.name: it_test_pthread_cond_001
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadCond001, TestSize.Level0)
{
@@ -259,7 +241,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadCond001, TestSize.Level0)
* @tc.name: it_test_pthread_cond_002
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadCond002, TestSize.Level0)
{
@@ -270,7 +251,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadCond002, TestSize.Level0)
* @tc.name: it_test_pthread_cond_003
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadCond003, TestSize.Level0)
{
@@ -281,7 +261,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadCond003, TestSize.Level0)
* @tc.name: it_test_pthread_cond_004
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthreadCond004, TestSize.Level0)
{
@@ -295,7 +274,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthreadCond004, TestSize.Level0)
* @tc.name: it_test_pthread_001
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread001, TestSize.Level0)
{
@@ -307,7 +285,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread001, TestSize.Level0)
* @tc.name: it_test_pthread_002
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread002, TestSize.Level0)
{
@@ -318,7 +295,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread002, TestSize.Level0)
* @tc.name: it_test_pthread_004
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread004, TestSize.Level0)
{
@@ -329,7 +305,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread004, TestSize.Level0)
* @tc.name: it_test_pthread_005
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread005, TestSize.Level0)
{
@@ -341,7 +316,6 @@ HWTEST_F(ProcessPthreadTest, ItTestPthread005, TestSize.Level0)
* @tc.name: it_test_pthread_014
* @tc.desc: function for ProcessPthreadTest
* @tc.type: FUNC
* @tc.require: AR000EEMQ9
*/
HWTEST_F(ProcessPthreadTest, ItTestPthread014, TestSize.Level0)
{

View File

@@ -51,8 +51,8 @@ void child1(void)
}
if (newPolicy != policy || pri != param.sched_priority) {
printf("pthread_getschedparam failed ! %d policy %d newPolicy pri %d param.sched_priority :%d\n", __LINE__,
policy, newPolicy, pri, param.sched_priority);
printf("pthread_getschedparam failed ! %d policy %d newPolicy %d pri %d param.sched_priority :%d\n",
__LINE__, policy, newPolicy, pri, param.sched_priority);
exit(255); // 255, set a special exit code.
}