summaryrefslogtreecommitdiffstats
path: root/c/src/ada-tests/sptests/sp09/ada_sp09.scn
blob: de199d7dd595ec97264e5c77744cbd2f23c8cd87 (plain) (blame)
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
*** TEST 9 ***
INIT - task_create - INVALID_PRIORITY
INIT - task_restart - INCORRECT_STATE
TA1 - task_delete - INVALID_ID
TA1 - task_ident - current task SUCCESSFUL
TA1 - task_ident - global INVALID_NAME
TA1 - task_ident - local INVALID_NAME
TA1 - task_ident - INVALID_NODE
TA1 - task_restart - INVALID_ID
TA1 - task_resume - INVALID_ID
TA1 - task_resume - INCORRECT_STATE
TA1 - task_set_priority - INVALID_PRIORITY
TA1 - task_set_priority - INVALID_ID
TA1 - task_start - INVALID_ID
TA1 - task_start - INCORRECT_STATE
TA1 - task_suspend - INVALID_ID
<pause - screen   2> 
TA1 - clock_get - NOT_DEFINED
TA1 - task_wake_when - NOT_DEFINED
TA1 - timer_fire_when - NOT_DEFINED
TA1 - clock_set -  8:30:45    2/ 5/1987 - INVALID_CLOCK
TA1 - clock_set -  8:30:45   15/ 5/1988 - INVALID_CLOCK
TA1 - clock_set -  8:30:45    2/32/1988 - INVALID_CLOCK
TA1 - clock_set - 25:30:45    2/ 5/1988 - INVALID_CLOCK
TA1 - clock_set -  8:61:45    2/ 5/1988 - INVALID_CLOCK
TA1 - clock_set -  8:30:61    2/ 5/1988 - INVALID_CLOCK
TA1 - clock_set -  8:30:45    2/ 5/1988 - INVALID_CLOCK
TA1 - clock_set -  8:30:45    2/ 5/1988 - SUCCESSFUL
TA1 - task_wake_when - TICK INVALID - sleep about 3 seconds
TA1 - task_wake_when - TICK INVALID - woke up SUCCESSFUL
TA1 - task_wake_when -  8:30:48    2/ 5/1961 - INVALID_CLOCK
TA1 - task_wake_when - 25:30:48    2/ 5/1988 - INVALID_CLOCK
TA1 - current time -  8:30:48    2/ 5/1988
TA1 - task_wake_when -  8:30:48    1/ 5/1988 - INVALID_CLOCK
<pause - screen   3> 
TA1 - task_create - INVALID_NAME
TA1 - task_create - stack size - UNSATISFIED
TA1 - task_create - TA2 created - SUCCESSFUL
TA1 - task_suspend - suspend TA2 - SUCCESSFUL
TA1 - task_suspend - suspend TA2 - ALREADY_SUSPENDED
TA1 - task_resume - TA2 resumed - SUCCESSFUL
TA1 - task_create - TA3 created - SUCCESSFUL
TA1 - task_create - 4 created - SUCCESSFUL
TA1 - task_create - 5 created - SUCCESSFUL
TA1 - task_create - 6 created - SUCCESSFUL
TA1 - task_create - 7 created - SUCCESSFUL
TA1 - task_create - 8 created - SUCCESSFUL
TA1 - task_create - 9 created - SUCCESSFUL
TA1 - task_create - 10 created - SUCCESSFUL
TA1 - task_create - 11 - TOO_MANY
TA1 - task_create - MP_NOT_CONFIGURED
<pause - screen   4> 
TA1 - event_receive - UNSATISFIED ( all conditions )
TA1 - event_receive - UNSATISFIED ( any conditions )
TA1 - event_receive - timeout in 3 seconds
TA1 - event_receive - woke with TIMEOUT
TA1 - event_send - INVALID_ID
TA1 - task_wake_after - sleep 1 second - SUCCESSFUL
TA1 - clock_set -  8:30:45    2/ 5/1988 - SUCCESSFUL
<pause - screen   5> 
TA1 - semaphore_create - INVALID_NAME
TA1 - semaphore_create - 1 - SUCCESSFUL
TA1 - semaphore_create - 2 - SUCCESSFUL
TA1 - semaphore_create - 3 - TOO_MANY
TA1 - semaphore_create - NOT_DEFINED
TA1 - semaphore_create - NOT_DEFINED
TA1 - semaphore_create - INVALID_NUMBER
TA1 - semaphore_create - MP_NOT_CONFIGURED
TA1 - semaphore_delete - unknown INVALID_ID
TA1 - semaphore_delete - local INVALID_ID
TA1 - semaphore_ident - global INVALID_NAME
TA1 - semaphore_ident - local INVALID_NAME
<pause - screen   6> 
TA1 - semaphore_obtain - INVALID_ID
TA1 - semaphore_obtain - got sem 1 - SUCCESSFUL
TA1 - semaphore_obtain - UNSATISFIED
TA1 - semaphore_obtain - timeout in 3 seconds
TA1 - semaphore_obtain - woke with TIMEOUT
TA1 - semaphore_release - NOT_OWNER_OF_RESOURCE
TA1 - semaphore_release - INVALID_ID
TA1 - task_start - start TA2 - SUCCESSFUL
TA1 - task_wake_after - yield processor - SUCCESSFUL
TA2 - semaphore_obtain - sem 1 - WAIT FOREVER
TA1 - semaphore_delete - delete sem 1 - SUCCESSFUL
TA1 - semaphore_obtain - binary semaphore
TA1 - semaphore_delete - delete sem 2 - RESOURCE_IN_USE
TA1 - task_wake_after - yield processor - SUCCESSFUL
TA2 - semaphore_obtain - woke up with OBJECT_WAS_DELETED
TA2 - task_delete - delete self - SUCCESSFUL
TA1 - task_delete TA2 - already deleted INVALID_ID
<pause - screen   7> 
TA1 - message_queue_broadcast - INVALID_ID
TA1 - message_queue_create - Q 1 - INVALID_NAME
TA1 - message_queue_create - Q 1 - MP_NOT_CONFIGURED
TA1 - message_queue_create - Q 1 - 2 DEEP - SUCCESSFUL
TA1 - message_queue_create - Q 2 - TOO_MANY
TA1 - message_queue_delete - unknown INVALID_ID
TA1 - message_queue_delete - local INVALID_ID
TA1 - message_queue_ident - INVALID_NAME
TA1 - message_queue_get_number_pending - INVALID_ID
TA1 - message_queue_flush - INVALID_ID
TA1 - message_queue_receive - INVALID_ID
TA1 - message_queue_receive - Q 1 - UNSATISFIED
TA1 - message_queue_receive - Q 1 - timeout in 3 seconds
TA1 - message_queue_receive - Q 1 - woke up with TIMEOUT
TA1 - message_queue_send - INVALID_ID
TA1 - message_queue_send - BUFFER 1 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 2 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 3 TO Q 1 - TOO_MANY
<pause - screen   8> 
TA1 - message_queue_delete - Q 1 - SUCCESSFUL
TA1 - message_queue_create - Q 1 - 2 DEEP - SUCCESSFUL
TA1 - message_queue_send - BUFFER 1 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 2 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 3 TO Q 1 - TOO_MANY
TA1 - message_queue_delete - Q 1 - SUCCESSFUL
TA1 - message_queue_create - Q 1 - 3 DEEP - SUCCESSFUL
TA1 - message_queue_send - BUFFER 1 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 2 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 3 TO Q 1 - SUCCESSFUL
TA1 - message_queue_send - BUFFER 4 TO Q 1 - TOO_MANY
TA1 - message_queue_delete - Q 1 - SUCCESSFUL
TA1 - message_queue_create - Q 1 - 3 DEEP - SUCCESSFUL
TA1 - task_start - start TA3 - SUCCESSFUL
TA1 - task_wake_after - yield processor - SUCCESSFUL
TA3 - message_queue_receive - Q 1 - WAIT FOREVER
TA1 - message_queue_delete - delete Q 1 - SUCCESSFUL
TA1 - task_wake_after - yield processor - SUCCESSFUL
TA3 - message_queue_receive - woke up with OBJECT_WAS_DELETED
TA3 - task_delete - delete self - SUCCESSFUL
<pause - screen   9> 
TA1 - port_create - INVALID_NAME
TA1 - port_create - INVALID_ADDRESS
TA1 - port_create - TOO_MANY
TA1 - port_delete - INVALID_ID
TA1 - port_ident - INVALID_NAME
TA1 - port_internal_to_external - INVALID_ID
TA1 - port_external_to_internal - INVALID_ID
<pause - screen  10> 
TA1 - rate_monotonic_create - INVALID_NAME
TA1 - rate_monotonic_create - SUCCESSFUL
TA1 - rate_monotonic_create - TOO_MANY
TA1 - rate_monotonic_ident - INVALID_NAME
TA1 - rate_monotonic_period - unknown INVALID_ID
TA1 - rate_monotonic_period - local INVALID_ID
TA1 - rate_monotonic_period( STATUS ) - NOT_DEFINED
TA1 - rate_monotonic_period - 100 ticks - SUCCESSFUL
TA1 - rate_monotonic_period( STATUS ) - SUCCESSFUL
TA1 - rate_monotonic_period( STATUS ) - TIMEOUT
TA1 - rate_monotonic_cancel - unknown INVALID_ID
TA1 - rate_monotonic_cancel - local INVALID_ID
TA1 - rate_monotonic_cancel - SUCCESSFUL
TA1 - rate_monotonic_period - 5 ticks - TIMEOUT
TA1 - task_wake_after - yielding to TA4
TA4 - rate_monotonic_cancel - NOT_OWNER_OF_RESOURCE
TA4 - rate_monotonic_period - NOT_OWNER_OF_RESOURCE
TA4 - task_delete - delete self - SUCCESSFUL
TA1 - rate_monotonic_delete - unknown INVALID_ID
TA1 - rate_monotonic_delete - local INVALID_ID
TA1 - rate_monotonic_delete - SUCCESSFUL
<pause - screen  11> 
TA1 - partition_create - INVALID_NAME
TA1 - partition_create - length - INVALID_SIZE
TA1 - partition_create - buffer size - INVALID_SIZE
TA1 - partition_create - length < buffer size - INVALID_SIZE
TA1 - partition_create - MP_NOT_CONFIGURED
TA1 - partition_create - INVALID_ADDRESS
TA1 - partition_create - INVALID_SIZE
TA1 - partition_delete - unknown INVALID_ID
TA1 - partition_delete - local INVALID_ID
TA1 - partition_get_buffer - INVALID_ID
TA1 - partition_ident - INVALID_NAME
TA1 - partition_return_buffer - INVALID_ID
TA1 - partition_create - SUCCESSFUL
TA1 - partition_create - TOO_MANY
TA1 - partition_get_buffer - SUCCESSFUL
TA1 - partition_get_buffer - SUCCESSFUL
TA1 - partition_get_buffer - UNSATISFIED
TA1 - partition_delete - RESOURCE_IN_USE
TA1 - partition_return_buffer - INVALID_ADDRESS - out of range
TA1 - partition_return_buffer - INVALID_ADDRESS - not on boundary
<pause - screen  12> 
TA1 - region_create - INVALID_NAME
TA1 - region_create - INVALID_ADDRESS
TA1 - region_create - INVALID_SIZE
TA1 - region_create - SUCCESSFUL
TA1 - region_create - TOO_MANY
TA1 - region_delete - unknown INVALID_ID
TA1 - region_delete - local INVALID_ID
TA1 - region_ident - INVALID_NAME
TA1 - region_get_segment - INVALID_ID
TA1 - region_get_segment - INVALID_SIZE
TA1 - region_get_segment - SUCCESSFUL
TA1 - region_get_segment - UNSATISFIED
TA1 - region_get_segment - timeout in 3 seconds
TA1 - region_get_segment - woke up with TIMEOUT
TA1 - region_delete - RESOURCE_IN_USE
TA1 - region_return_segment - INVALID_ID
TA1 - region_return_segment - INVALID_ADDRESS
TA1 - debug_disable - DEBUG_REGION
TA1 - region_return_segment - INVALID_ADDRESS - SKIPPED
TA1 - region_return_segment - INVALID_ADDRESS - SKIPPED
TA1 - debug_enable - DEBUG_REGION
TA1 - region_extend - INVALID_ID
TA1 - region_extend - within heap - INVALID_ADDRESS
TA1 - region_extend - non-contiguous lower - NOT_IMPLEMENTED
TA1 - region_extend - contiguous lower - NOT_IMPLEMENTED
TA1 - region_extend - non-contiguous higher - NOT_IMPLEMENTED
<pause - screen  13> 
TA1 - clock_set - 23:59:59   12/31/2000 - SUCCESSFUL
TA1 - clock_get -  0: 0: 0    1/ 1/2001 - SUCCESSFUL
TA1 - clock_set - 23:59:59   12/31/1999 - SUCCESSFUL
TA1 - clock_get -  0: 0: 0    1/ 1/2000 - SUCCESSFUL
TA1 - clock_set - 23:59:59   12/31/2100 - SUCCESSFUL
TA1 - clock_get - 17:31:44   11/25/1964 - SUCCESSFUL
TA1 - clock_set - 23:59:59   12/31/2099 - SUCCESSFUL
TA1 - clock_get - 17:31:44   11/25/1963 - SUCCESSFUL
TA1 - clock_set - 23:59:59   12/31/1991 - SUCCESSFUL
TA1 - clock_get -  0: 0: 0    1/ 1/1992 - SUCCESSFUL
<pause - screen  14> 
TA1 - timer_create - INVALID_NAME
TA1 - timer_create - 1 - SUCCESSFUL
TA1 - timer_create - 2 - TOO_MANY
TA1 - timer_delete - local INVALID_ID
TA1 - timer_delete - global INVALID_ID
TA1 - timer_ident - INVALID_NAME
TA1 - timer_cancel - INVALID_ID
TA1 - timer_reset - INVALID_ID
TA1 - timer_reset - NOT_DEFINED
TA1 - timer_fire_after - INVALID_ID
TA1 - timer_fire_when - INVALID_ID
TA1 - timer_fire_after - INVALID_NUMBER
TA1 - timer_fire_when -  8:30:45    2/ 5/1987 - INVALID_CLOCK
TA1 - clock_get       -  0: 0: 0    1/ 1/1992
TA1 - timer_fire_when -  8:30:45    2/ 5/1990 - before INVALID_CLOCK
TA1 - timer_server_fire_after - INCORRECT_STATE
TA1 - timer_server_fire_when - INCORRECT_STATE
TA1 - timer_initiate_server - INVALID_PRIORITY
TA1 - timer_initiate_server
TA1 - timer_server_fire_after - INVALID_ID
TA1 - timer_server_fire_when - INVALID_ID
TA1 - timer_server_fire_after - INVALID_NUMBER
TA1 - timer_server_fire_when -  8:30:45    2/ 5/1987 - INVALID_CLOCK
TA1 - clock_get       -  0: 0: 0    1/ 1/1992
TA1 - timer_server_fire_when -  8:30:45    2/ 5/1990 - before INVALID_CLOCK
*** END OF TEST 9 ***