1 |
158 |
chris |
*** ITRONMBF01 -- ITRON MESSAGE BUFFER TEST ***
|
2 |
|
|
Init - cre_mbf - NULL pk_cmbf returns E_PAR
|
3 |
|
|
Init - cre_mbf - negative values for bufsz returns E_PAR
|
4 |
|
|
Init - cre_mbf - negative values for maxmsz returns E_PAR
|
5 |
|
|
Init - cre_mbf - bufsz < maxmsz returns E_PAR
|
6 |
|
|
Init - cre_mbf - bad id (less than -4) - E_OACV
|
7 |
|
|
Init - cre_mbf - bad id (between 0 and -4) - E_ID
|
8 |
|
|
Init - cre_mbf - bad id (0) - E_ID
|
9 |
|
|
Init - cre_mbf - bad id (too great) - E_ID
|
10 |
|
|
Init - cre_mbf - create mbf 1 TA_TFIFO - E_OK
|
11 |
|
|
Init - cre_mbf - create mbf 1 again - E_OBJ
|
12 |
|
|
Init - cre_mbf - create mbf 2 TA_TPRI - E_OK
|
13 |
|
|
Init - del_mbf - bad id (less than -4) - E_OACV
|
14 |
|
|
Init - del_mbf - bad id (between 0 and -4) - E_ID
|
15 |
|
|
Init - del_mbf - bad id (0) - E_ID
|
16 |
|
|
Init - del_mbf - bad id (too great) - E_ID
|
17 |
|
|
Init - del_mbf - E_OK
|
18 |
|
|
Init - psnd_mbf - bad id (less than -4) - E_OACV
|
19 |
|
|
Init - psnd_mbf - bad id (between 0 and -4) - E_ID
|
20 |
|
|
Init - psnd_mbf - bad id (0) - E_ID
|
21 |
|
|
Init - psnd_mbf - bad id (too great) - E_ID
|
22 |
|
|
Init - psnd_mbf - msg == 0, E_PAR
|
23 |
|
|
Init - psnd_mbf - msgsz too big - E_PAR
|
24 |
|
|
Init - psnd_mbf - msgsz <0 - E_PAR
|
25 |
|
|
Init - psnd_mbf - E_OK
|
26 |
|
|
Init - ref_mbf - bad id (less than -4) - E_OACV
|
27 |
|
|
Init - ref_mbf - bad id (between 0 and -4) - E_ID
|
28 |
|
|
Init - ref_mbf - bad id (0) - E_ID
|
29 |
|
|
Init - ref_mbf - bad id (too great) - E_ID
|
30 |
|
|
Init - ref_mbf - NULL pk_mbf returns E_PAR
|
31 |
|
|
Init - ref_mbf - mbf 1 - E_OK
|
32 |
|
|
Init - mbf 1 msgsz = 100
|
33 |
|
|
Init - mbf 1 frbufsz = 400
|
34 |
|
|
Init - mbf 1 waiting tasks = 0
|
35 |
|
|
Init - mbf 1 sending tasks = 0
|
36 |
|
|
Init - rcv_mbf - bad id (less than -4) - E_OACV
|
37 |
|
|
Init - rcv_mbf - bad id (between 0 and -4) - E_ID
|
38 |
|
|
Init - rcv_mbf - bad id (0) - E_ID
|
39 |
|
|
Init - rcv_mbf - bad id (too great) - E_ID
|
40 |
|
|
Init - rcv_mbf - NULL msg returns E_PAR
|
41 |
|
|
Init - rcv_mbf - NULL p_msgsz returns E_PAR
|
42 |
|
|
Init - rcv_mbf -- OK
|
43 |
|
|
Message:[This is test message 1], length:100
|
44 |
|
|
Init - ref_mbf - bad id (less than -4) - E_OACV
|
45 |
|
|
Init - ref_mbf - bad id (between 0 and -4) - E_ID
|
46 |
|
|
Init - ref_mbf - bad id (0) - E_ID
|
47 |
|
|
Init - ref_mbf - bad id (too great) - E_ID
|
48 |
|
|
Init - ref_mbf - NULL pk_mbf returns E_PAR
|
49 |
|
|
Init - ref_mbf - mbf 1 - E_OK
|
50 |
|
|
Init - mbf 1 msgsz = 0
|
51 |
|
|
Init - mbf 1 frbufsz = 600
|
52 |
|
|
Init - mbf 1 waiting tasks = 0
|
53 |
|
|
Init - mbf 1 sending tasks = 0
|
54 |
|
|
Init - prcv_mbf - bad id (less than -4) - E_OACV
|
55 |
|
|
Init - prcv_mbf - bad id (between 0 and -4) - E_ID
|
56 |
|
|
Init - prcv_mbf - bad id (0) - E_ID
|
57 |
|
|
Init - prcv_mbf - bad id (too great) - E_ID
|
58 |
|
|
Init - prcv_mbf - NULL msg returns E_PAR
|
59 |
|
|
Init - prcv_mbf - NULL p_msgsz returns E_PAR
|
60 |
|
|
Init - prcv_mbf -- E_TMOUT
|
61 |
|
|
Init - trcv_mbf - bad id (less than -4) - E_OACV
|
62 |
|
|
Init - trcv_mbf - bad id (between 0 and -4) - E_ID
|
63 |
|
|
Init - trcv_mbf - bad id (0) - E_ID
|
64 |
|
|
Init - trcv_mbf - bad id (too great) - E_ID
|
65 |
|
|
Init - trcv_mbf - NULL msg returns E_PAR
|
66 |
|
|
Init - trcv_mbf - NULL p_msgsz returns E_PAR
|
67 |
|
|
Init - trcv_mbf - tmout <-2 returns E_PAR
|
68 |
|
|
Init - trcv_mbf -- E_TMOUT
|
69 |
|
|
Init - starting to block at Fri Jan 01 00:00:00 1988
|
70 |
|
|
Init - time out at Fri Jan 01 00:00:01 1988
|
71 |
|
|
*** ITRONMBF01 --- ITRON MESSAGE BUFFER TEST ***
|