summaryrefslogtreecommitdiffstats
path: root/testsuites/itrontests/itronsem01/itronsem01.scn
blob: 38093bda312f19f66c0d1647108bbf3ffa1c9c51 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
*** ITRONSEM01 -- ITRON SEMAPHORE TEST ***
Init - cre_sem - NULL pk_sem returns E_PAR
Init - cre_sem - isemcnt > maxsem returns E_PAR
Init - cre_sem - maxsem of 0 returns E_PAR
Init - cre_sem - bad id (less than -4) - E_OACV
Init - cre_sem - bad id (between 0 and -4) - E_ID
Init - cre_sem - bad id (0) - E_ID
Init - cre_sem - bad id (too great) - E_ID
Init - cre_sem - create semaphore 1 TA_TFIFO - E_OK
Init - cre_sem - create semaphore 1 again - E_OBJ
Init - cre_sem - create semaphore 2 TA_TPRI - E_OK
Init - del_sem - bad id (less than -4) - E_OACV
Init - del_sem - bad id (between 0 and -4) - E_ID
Init - del_sem - bad id (0) - E_ID
Init - del_sem - bad id (too great) - E_ID
Init - sig_sem - bad id (less than -4) - E_OACV
Init - sig_sem - bad id (between 0 and -4) - E_ID
Init - sig_sem - bad id (0) - E_ID
Init - sig_sem - bad id (too great) - E_ID
Init - preq_sem - bad id (less than -4) - E_OACV
Init - preq_sem - bad id (between 0 and -4) - E_ID
Init - preq_sem - bad id (0) - E_ID
Init - preq_sem - bad id (too great) - E_ID
Init - wai_sem - bad id (less than -4) - E_OACV
Init - wai_sem - bad id (between 0 and -4) - E_ID
Init - wai_sem - bad id (0) - E_ID
Init - wai_sem - bad id (too great) - E_ID
Init - twai_sem - bad id (less than -4) - E_OACV
Init - twai_sem - bad id (between 0 and -4) - E_ID
Init - twai_sem - bad id (0) - E_ID
Init - twai_sem - bad id (too great) - E_ID
Init - ref_sem - bad id (less than -4) - E_OACV
Init - ref_sem - bad id (between 0 and -4) - E_ID
Init - ref_sem - bad id (0) - E_ID
Init - ref_sem - bad id (too great) - E_ID
Init - preq_sem - semaphore 1 available (count --> 1) - E_OK
Init - preq_sem - semaphore 1 available (count --> 0) - E_OK
Init - preq_sem - semaphore 1 unavailable - E_TMOUT
Init - sig_sem - semaphore 1 (count --> 1) - E_OK
Init - twai_sem(TMO_POL) - semaphore 1 available (count --> 0) - E_OK
Init - twai_sem(TMO_POL) - semaphore 1 available - E_TMOUT
Init - twai_sem - semaphore 1 unavailable - 1 second E_TMOUT
Init - starting to block at Fri Jan 01 00:00:00 1988
Init - timed out at Fri Jan 01 00:00:01 1988
Init - twai_sem - semaphore 1 unavailable - timeout completed
Init - sig_sem - semaphore 1 (count --> 1) - E_OK
Init - sig_sem - semaphore 1 (count --> 2) - E_OK
Init - sig_sem - semaphore 1 (count --> 3) - E_OK
Init - sig_sem - semaphore 1 (count > maximum) - E_QOVR
Init - ref_sem - NULL pk_sem returns E_PAR
Init - ref_sem - semaphore 1 - E_OK
Init - semaphore 1 count = 4
Init - semaphore 1 waiting tasks = 0
Init - preq_sem - semaphore 1 (count --> 2) - E_OK
Init - ref_sem - semaphore 1 - E_OK
Init - semaphore 1 count = 3
Init - semaphore 1 waiting tasks = 0
Init - del_sem - semaphore 1 deleted - E_OK
Init - XXX need other tasks to complete the test XXX
Init - dly_tsk - 1 second to let other task run
*** END OF ITRONSEM01 -- ITRON SEMAPHORE TEST ***