ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/vendor/libpeak-0.1.2/tests/test.desc
Revision: 3251
Committed: Wed Apr 2 16:58:30 2014 UTC (11 years, 4 months ago) by michael
File size: 5913 byte(s)
Log Message:
- Imported libpeak-0.1.2

File Contents

# Content
1 # -*- Perl -*-
2 # $Id: test.desc,v 1.6 2004/01/18 01:39:45 mbuna Exp $
3
4 $test = {
5 't_atomic1' => {
6 'file' => 't_atomic1',
7 'timeout' => {
8 'time' => 30,
9 'message' => 'Timeout',
10 'status' => [ 'warning', 'alarm' ],
11 },
12 'code' => {
13 '0' => {
14 'message' => 'Ok',
15 'status' => [ 'successful' ],
16 },
17 '1' => {
18 'message' => 'misc timer error',
19 'status' => [ 'error' ],
20 },
21 '2' => {
22 'message' => 'unable to set task info',
23 'status' => [ 'error' ],
24 },
25 '3' => {
26 'message' => 'atomic failure/result not coherent',
27 'status' => [ 'error' ],
28 },
29 },
30 },
31 't_atomic2' => {
32 'file' => 't_atomic2',
33 'timeout' => {
34 'time' => 15,
35 'message' => 'Timeout',
36 'status' => [ 'warning', 'alarm' ],
37 },
38 'code' => {
39 '0' => {
40 'message' => 'Ok',
41 'status' => [ 'successful' ],
42 },
43 '1' => {
44 'message' => 'misc timer error',
45 'status' => [ 'error' ],
46 },
47 '2' => {
48 'message' => 'unable to set task info',
49 'status' => [ 'error' ],
50 },
51 '3' => {
52 'message' => 'atomic failure/result not coherent',
53 'status' => [ 'error' ],
54 },
55 },
56 },
57 't_signal1' => {
58 'file' => 't_signal1',
59 'timeout' => {
60 'time' => 10,
61 'message' => 'Timeout',
62 'status' => [ 'warning', 'alarm' ],
63 },
64 'code' => {
65 '0' => {
66 'message' => 'Ok',
67 'status' => [ 'successful' ],
68 },
69 '1' => {
70 'message' => 'peak signal handler creation failed (error)',
71 'status' => [ 'error' ],
72 },
73 '2' => {
74 'message' => 'bad signum parameter (error)',
75 'status' => [ 'error' ],
76 },
77 '3' => {
78 'message' => 'bad context pointer management (error)',
79 'status' => [ 'error' ],
80 },
81 '4' => {
82 'message' => 'one or more signals lost (warning)',
83 'status' => [ 'warning' ],
84 },
85 '5' => {
86 'message' => 'other timer error',
87 'status' => [ 'error' ],
88 },
89 },
90 },
91 't_signal2' => {
92 'file' => 't_signal2',
93 'timeout' => {
94 'time' => 10,
95 'message' => 'Timeout',
96 'status' => [ 'warning', 'alarm' ],
97 },
98 'code' => {
99 '0' => {
100 'message' => 'Ok',
101 'status' => [ 'successful' ],
102 },
103 '1' => {
104 'message' => 'peak signal handler creation failed (error)',
105 'status' => [ 'error' ],
106 },
107 '2' => {
108 'message' => 'bad signum parameter (error)',
109 'status' => [ 'error' ],
110 },
111 '3' => {
112 'message' => 'bad context pointer management (error)',
113 'status' => [ 'error' ],
114 },
115 '4' => {
116 'message' => 'one or more signals lost (warning)',
117 'status' => [ 'warning' ],
118 },
119 '5' => {
120 'message' => 'other timer error',
121 'status' => [ 'error' ],
122 },
123 '6' => {
124 'message' => 'unable to get or set task info',
125 'status' => [ 'error' ],
126 },
127 },
128 },
129 't_timer1' => {
130 'file' => 't_timer1',
131 'timeout' => {
132 'time' => 5,
133 'message' => 'Timeout',
134 'status' => [ 'warning', 'alarm' ],
135 },
136 'code' => {
137 '0' => {
138 'message' => 'Ok',
139 'status' => [ 'successful' ],
140 },
141 '1' => {
142 'message' => 'timer creation failed (error)',
143 'status' => [ 'error' ],
144 },
145 '2' => {
146 'message' => 'bad context pointer management (error)',
147 'status' => [ 'error' ],
148 },
149 },
150 },
151 't_timer2' => {
152 'file' => 't_timer2',
153 'timeout' => {
154 'time' => 30,
155 'message' => 'Timeout',
156 'status' => [ 'warning', 'alarm' ],
157 },
158 'code' => {
159 '0' => {
160 'message' => 'Ok',
161 'status' => [ 'successful' ],
162 },
163 '1' => {
164 'message' => 'timer creation failed (error)',
165 'status' => [ 'error' ],
166 },
167 '2' => {
168 'message' => 'bad context pointer management (error)',
169 'status' => [ 'error' ],
170 },
171 },
172 },
173 't_timer3' => {
174 'file' => 't_timer3',
175 'timeout' => {
176 'time' => 30,
177 'message' => 'Timeout',
178 'status' => [ 'warning', 'alarm' ],
179 },
180 'code' => {
181 '0' => {
182 'message' => 'Ok',
183 'status' => [ 'successful' ],
184 },
185 '1' => {
186 'message' => 'timer creation failed (error)',
187 'status' => [ 'error' ],
188 },
189 '2' => {
190 'message' => 'bad context pointer management (error)',
191 'status' => [ 'error' ],
192 },
193 '3' => {
194 'message' => 'unable to get or set task info (error)',
195 'status' => [ 'error' ],
196 },
197 },
198 },
199 }
200