1 |
1026 |
ivang |
*** ITRON TASK TEST 2 ***
|
2 |
|
|
Init - cre_tsk - Dormant Task
|
3 |
|
|
Init - cre_tsk - Non-Dormant Task
|
4 |
|
|
NON-DORMANT - Sleep for 2 minutes
|
5 |
|
|
|
6 |
|
|
*** Create Task Errors ***
|
7 |
|
|
Init - cre_tsk - access violation ( id less than -4) - E_OACV
|
8 |
|
|
Init - cre_tsk - bad id (between 0 and -4) - E_ID
|
9 |
|
|
Init - cre_tsk - cannot create TSK_SELF - E_ID
|
10 |
|
|
Init - cre_tsk - invalid id; id already exists - E_OBJ
|
11 |
|
|
Init - cre_tsk - tskatr is invalid - E_RSATR
|
12 |
|
|
Init - cre_tsk - pk_ctsk is invalid - E_PAR
|
13 |
|
|
Init - cre_tsk - itskpri is 0 - E_PAR
|
14 |
|
|
Init - cre_tsk - itskpri is 257 - E_PAR
|
15 |
|
|
Init - cre_tsk - stksz is invalid - E_PAR
|
16 |
|
|
Init - cre_tsk - task is invalid - E_PAR
|
17 |
|
|
|
18 |
|
|
*** Delete Task Errors ***
|
19 |
|
|
Init - del_tsk - cannot delete TSK_SELF - E_OBJ
|
20 |
|
|
Init - del_tsk - task is not DORMANT - E_OBJ
|
21 |
|
|
Init - del_tsk - task does not exist - E_NOEXS
|
22 |
|
|
Init - del_tsk - access violation ( id less than -4) - E_OACV
|
23 |
|
|
Init - del_tsk - cannot delete TSK_SELF - E_OBJ
|
24 |
|
|
Init - del_tsk - bad id (between 0 and -4) - E_ID
|
25 |
|
|
|
26 |
|
|
*** Start Task Errors ***
|
27 |
|
|
Init - sta_tsk - access violation ( id less than -4) - E_OACV
|
28 |
|
|
Init - sta_tsk - bad id (between 0 and -4) - E_ID
|
29 |
|
|
Init - sta_tsk - cannot start TSK_SELF - E_OBJ
|
30 |
|
|
Init - sta_tsk - task is not DORMANT - E_OBJ
|
31 |
|
|
Init - sta_tsk - task does not exist - E_NOEXS
|
32 |
|
|
|
33 |
|
|
*** Terminate Other Task Errors ***
|
34 |
|
|
Init - ter_tsk - bad id (between 0 and -4) - E_ID
|
35 |
|
|
Init - ter_tsk - cannot terminate TSK_SELF (0) - E_OBJ
|
36 |
|
|
Init - ter_tsk - task is not DORMANT - E_OBJ
|
37 |
|
|
Init - ter_tsk - task does not exist - E_NOEXS
|
38 |
|
|
Init - ter_tsk - access violation ( id less than -4) - E_OACV
|
39 |
|
|
|
40 |
|
|
*** Change Priority Task Errors ***
|
41 |
|
|
Init - chg_pri - bad id (between 0 and -4) - E_ID
|
42 |
|
|
Init - chg_pri - task is DORMANT - E_OBJ
|
43 |
|
|
Init - chg_pri - task does not exist - E_NOEXS
|
44 |
|
|
Init - chg_pri - access violation ( id less than -4) - E_OACV
|
45 |
|
|
Init - chg_pri - invalid priority - E_PAR
|
46 |
|
|
|
47 |
|
|
*** Rotate Ready Queue Errors ***
|
48 |
|
|
Init - rot_rdq - priority -1 - E_PAR
|
49 |
|
|
Init - rot_rdq - priority 257 - E_PAR
|
50 |
|
|
|
51 |
|
|
*** Reference Task Status Errors ***
|
52 |
|
|
Init - ref_tsk - bad id (between 0 and -4) - E_ID
|
53 |
|
|
Init - ref_tsk - task does not exist - E_NOEXS
|
54 |
|
|
Init - ref_tsk - access violation ( id less than -4) - E_OACV
|
55 |
|
|
Init - ref_tsk - packet address is bad - E_PAR
|
56 |
|
|
|
57 |
|
|
*** Suspend Task Errors ***
|
58 |
|
|
Init - sus_tsk - access violation ( id less than -4) - E_OACV
|
59 |
|
|
Init - sus_tsk - bad id (between 0 and -4) - E_ID
|
60 |
|
|
Init - sus_tsk - cannot suspend SELF - E_OBJ
|
61 |
|
|
Init - sus_tsk - task does not exist - E_NOEXS
|
62 |
|
|
|
63 |
|
|
*** Resume Task Errors ***
|
64 |
|
|
Init - rsm_tsk - access violation ( id less than -4) - E_OACV
|
65 |
|
|
Init - rsm_tsk - bad id (between 0 and -4) - E_ID
|
66 |
|
|
Init - rsm_tsk - cannot resume SELF - E_OBJ
|
67 |
|
|
Init - rsm_tsk - task is DORMANT - E_OBJ
|
68 |
|
|
Init - rsm_tsk - task is NON_DORMANT not suspended - E_OK
|
69 |
|
|
Init - rsm_tsk - task does not exist - E_NOEXS
|
70 |
|
|
|
71 |
|
|
*** Forcibly Resume Task Errors ***
|
72 |
|
|
Init - frsm_tsk - access violation ( id less than -4) - E_OACV
|
73 |
|
|
Init - frsm_tsk - bad id (between 0 and -4) - E_ID
|
74 |
|
|
Init - frsm_tsk - cannot forcibly resume SELF - E_OBJ
|
75 |
|
|
Init - frsm_tsk - task is DORMANT - E_OBJ
|
76 |
|
|
Init - frsm_tsk - task does not exist - E_NOEXS
|
77 |
|
|
Init - frsm_tsk - task is NON_DORMANT not suspended - E_OK
|
78 |
|
|
|
79 |
|
|
*** END OF ITRON TASK TEST 2 ***
|
80 |
|
|
|