Debian Codegraph @

tests/probes/uname/test_probes_uname.xml.sh

raw symbols SCIP
1 #!/usr/bin/env bash
2
3 cat <<EOF
4 <?xml version="1.0"?>
5 <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
6
7 <generator>
8 <oval:product_name>uname</oval:product_name>
9 <oval:product_version>1.0</oval:product_version>
10 <oval:schema_version>5.4</oval:schema_version>
11 <oval:timestamp>2008-03-31T00:00:00-00:00</oval:timestamp>
12 </generator>
13
14 <definitions>
15
16 <definition class="compliance" version="1" id="oval:1:def:1"> <!-- comment="false" -->
17 <metadata>
18 <title></title>
19 <description></description>
20 </metadata>
21 <criteria>
22 <criteria operator="AND">
23 <criterion test_ref="oval:1:tst:1"/>
24 <criterion test_ref="oval:1:tst:2"/>
25 <criterion test_ref="oval:1:tst:3"/>
26 <criterion test_ref="oval:1:tst:4"/>
27 <criterion test_ref="oval:1:tst:5"/>
28 <criterion test_ref="oval:1:tst:6"/>
29 <criterion test_ref="oval:1:tst:7"/>
30 <criterion test_ref="oval:1:tst:8"/>
31 <criterion test_ref="oval:1:tst:9"/>
32 <criterion test_ref="oval:1:tst:10"/>
33 <criterion test_ref="oval:1:tst:11"/>
34 <criterion test_ref="oval:1:tst:12"/>
35 <criterion test_ref="oval:1:tst:13"/>
36 <criterion test_ref="oval:1:tst:14"/>
37 <criterion test_ref="oval:1:tst:15"/>
38 <criterion test_ref="oval:1:tst:16"/>
39 <criterion test_ref="oval:1:tst:17"/>
40 <criterion test_ref="oval:1:tst:18"/>
41 <criterion test_ref="oval:1:tst:19"/>
42 <criterion test_ref="oval:1:tst:20"/>
43 <criterion test_ref="oval:1:tst:21"/>
44 <criterion test_ref="oval:1:tst:22"/>
45 <criterion test_ref="oval:1:tst:23"/>
46 <criterion test_ref="oval:1:tst:24"/>
47 <criterion test_ref="oval:1:tst:25"/>
48 <criterion test_ref="oval:1:tst:26"/>
49 <criterion test_ref="oval:1:tst:27"/>
50 <criterion test_ref="oval:1:tst:28"/>
51 <criterion test_ref="oval:1:tst:29"/>
52 <criterion test_ref="oval:1:tst:30"/>
53 <criterion test_ref="oval:1:tst:31"/>
54 <criterion test_ref="oval:1:tst:32"/>
55 <criterion test_ref="oval:1:tst:33"/>
56 <criterion test_ref="oval:1:tst:34"/>
57 <criterion test_ref="oval:1:tst:35"/>
58 <criterion test_ref="oval:1:tst:36"/>
59 <criterion test_ref="oval:1:tst:37"/>
60 <criterion test_ref="oval:1:tst:38"/>
61 <criterion test_ref="oval:1:tst:39"/>
62 <criterion test_ref="oval:1:tst:40"/>
63 <criterion test_ref="oval:1:tst:41"/>
64 <criterion test_ref="oval:1:tst:42"/>
65 <criterion test_ref="oval:1:tst:43"/>
66 <criterion test_ref="oval:1:tst:44"/>
67 <criterion test_ref="oval:1:tst:45"/>
68 <criterion test_ref="oval:1:tst:46"/>
69 <criterion test_ref="oval:1:tst:47"/>
70 <criterion test_ref="oval:1:tst:48"/>
71 <criterion test_ref="oval:1:tst:49"/>
72 <criterion test_ref="oval:1:tst:50"/>
73 <criterion test_ref="oval:1:tst:51"/>
74 <criterion test_ref="oval:1:tst:52"/>
75 <criterion test_ref="oval:1:tst:53"/>
76 <criterion test_ref="oval:1:tst:54"/>
77 <criterion test_ref="oval:1:tst:55"/>
78 <criterion test_ref="oval:1:tst:56"/>
79 <criterion test_ref="oval:1:tst:57"/>
80 <criterion test_ref="oval:1:tst:58"/>
81 <criterion test_ref="oval:1:tst:59"/>
82 <criterion test_ref="oval:1:tst:60"/>
83 <criterion test_ref="oval:1:tst:61"/>
84 <criterion test_ref="oval:1:tst:62"/>
85 <criterion test_ref="oval:1:tst:63"/>
86 <criterion test_ref="oval:1:tst:64"/>
87 <criterion test_ref="oval:1:tst:65"/>
88 <criterion test_ref="oval:1:tst:66"/>
89 <criterion test_ref="oval:1:tst:67"/>
90 <criterion test_ref="oval:1:tst:68"/>
91 <criterion test_ref="oval:1:tst:69"/>
92 <criterion test_ref="oval:1:tst:70"/>
93 <criterion test_ref="oval:1:tst:71"/>
94 <criterion test_ref="oval:1:tst:72"/>
95 <criterion test_ref="oval:1:tst:73"/>
96 <criterion test_ref="oval:1:tst:74"/>
97 <criterion test_ref="oval:1:tst:75"/>
98 <criterion test_ref="oval:1:tst:76"/>
99 <criterion test_ref="oval:1:tst:77"/>
100 <criterion test_ref="oval:1:tst:78"/>
101 <criterion test_ref="oval:1:tst:79"/>
102 <criterion test_ref="oval:1:tst:80"/>
103 <criterion test_ref="oval:1:tst:81"/>
104 <criterion test_ref="oval:1:tst:82"/>
105 <criterion test_ref="oval:1:tst:83"/>
106 <criterion test_ref="oval:1:tst:84"/>
107 <criterion test_ref="oval:1:tst:85"/>
108 <criterion test_ref="oval:1:tst:86"/>
109 <criterion test_ref="oval:1:tst:87"/>
110 <criterion test_ref="oval:1:tst:88"/>
111 <criterion test_ref="oval:1:tst:89"/>
112 <criterion test_ref="oval:1:tst:90"/>
113 <criterion test_ref="oval:1:tst:91"/>
114 <criterion test_ref="oval:1:tst:92"/>
115 <criterion test_ref="oval:1:tst:93"/>
116 <criterion test_ref="oval:1:tst:94"/>
117 <criterion test_ref="oval:1:tst:95"/>
118 <criterion test_ref="oval:1:tst:96"/>
119 </criteria>
120 </criteria>
121 </definition>
122
123 <definition class="compliance" version="1" id="oval:1:def:2"> <!-- comment="false" -->
124 <metadata>
125 <title></title>
126 <description></description>
127 </metadata>
128 <criteria>
129 <criteria operator="AND">
130 <criterion test_ref="oval:1:tst:25"/>
131 <criterion test_ref="oval:1:tst:26"/>
132 </criteria>
133 </criteria>
134 </definition>
135
136 <definition class="compliance" version="1" id="oval:1:def:3"> <!-- comment="true" -->
137 <metadata>
138 <title></title>
139 <description></description>
140 </metadata>
141 <criteria>
142 <criteria operator="AND">
143 <criterion test_ref="oval:1:tst:25"/>
144 <criterion test_ref="oval:1:tst:25"/>
145 </criteria>
146 </criteria>
147 </definition>
148
149 <definition class="compliance" version="1" id="oval:1:def:4"> <!-- comment="false" -->
150 <metadata>
151 <title></title>
152 <description></description>
153 </metadata>
154 <criteria>
155 <criteria operator="AND">
156 <criterion test_ref="oval:1:tst:26"/>
157 <criterion test_ref="oval:1:tst:27"/>
158 </criteria>
159 </criteria>
160 </definition>
161
162 <definition class="compliance" version="1" id="oval:1:def:5"> <!-- comment="true" -->
163 <metadata>
164 <title></title>
165 <description></description>
166 </metadata>
167 <criteria>
168 <criteria operator="OR">
169 <criterion test_ref="oval:1:tst:25"/>
170 <criterion test_ref="oval:1:tst:26"/>
171 </criteria>
172 </criteria>
173 </definition>
174
175 <definition class="compliance" version="1" id="oval:1:def:6"> <!-- comment="true" -->
176 <metadata>
177 <title></title>
178 <description></description>
179 </metadata>
180 <criteria>
181 <criteria operator="OR">
182 <criterion test_ref="oval:1:tst:25"/>
183 <criterion test_ref="oval:1:tst:25"/>
184 </criteria>
185 </criteria>
186 </definition>
187
188 <definition class="compliance" version="1" id="oval:1:def:7"> <!-- comment="false" -->
189 <metadata>
190 <title></title>
191 <description></description>
192 </metadata>
193 <criteria>
194 <criteria operator="OR">
195 <criterion test_ref="oval:1:tst:26"/>
196 <criterion test_ref="oval:1:tst:27"/>
197 </criteria>
198 </criteria>
199 </definition>
200
201 <definition class="compliance" version="1" id="oval:1:def:8"> <!-- comment="true" -->
202 <metadata>
203 <title></title>
204 <description></description>
205 </metadata>
206 <criteria>
207 <criteria operator="XOR">
208 <criterion test_ref="oval:1:tst:25"/>
209 <criterion test_ref="oval:1:tst:26"/>
210 </criteria>
211 </criteria>
212 </definition>
213
214 <definition class="compliance" version="1" id="oval:1:def:9"> <!-- comment="false" -->
215 <metadata>
216 <title></title>
217 <description></description>
218 </metadata>
219 <criteria>
220 <criteria operator="XOR">
221 <criterion test_ref="oval:1:tst:25"/>
222 <criterion test_ref="oval:1:tst:25"/>
223 </criteria>
224 </criteria>
225 </definition>
226
227 <definition class="compliance" version="1" id="oval:1:def:10"> <!-- comment="false" -->
228 <metadata>
229 <title></title>
230 <description></description>
231 </metadata>
232 <criteria>
233 <criteria operator="XOR">
234 <criterion test_ref="oval:1:tst:26"/>
235 <criterion test_ref="oval:1:tst:27"/>
236 </criteria>
237 </criteria>
238 </definition>
239
240 <definition class="compliance" version="1" id="oval:1:def:11"> <!-- comment="true" -->
241 <metadata>
242 <title></title>
243 <description></description>
244 </metadata>
245 <criteria>
246 <criteria operator="ONE">
247 <criterion test_ref="oval:1:tst:25"/>
248 <criterion test_ref="oval:1:tst:26"/>
249 </criteria>
250 </criteria>
251 </definition>
252
253 <definition class="compliance" version="1" id="oval:1:def:12"> <!-- comment="false" -->
254 <metadata>
255 <title></title>
256 <description></description>
257 </metadata>
258 <criteria>
259 <criteria operator="ONE">
260 <criterion test_ref="oval:1:tst:25"/>
261 <criterion test_ref="oval:1:tst:25"/>
262 </criteria>
263 </criteria>
264 </definition>
265
266 <definition class="compliance" version="1" id="oval:1:def:13"> <!-- comment="false" -->
267 <metadata>
268 <title></title>
269 <description></description>
270 </metadata>
271 <criteria>
272 <criteria operator="ONE">
273 <criterion test_ref="oval:1:tst:26"/>
274 <criterion test_ref="oval:1:tst:27"/>
275 </criteria>
276 </criteria>
277 </definition>
278
279 </definitions>
280
281 <tests>
282
283 <!-- DEFAULT STATELESS OBJECT -->
284
285 <!-- check="all" -->
286
287 <uname_test version="1" id="oval:1:tst:1" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
288 <object object_ref="oval:1:obj:1"/>
289 </uname_test>
290
291 <!-- check="at least one" -->
292
293 <uname_test version="1" id="oval:1:tst:2" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
294 <object object_ref="oval:1:obj:1"/>
295 </uname_test>
296
297 <!-- check="none satisfy" -->
298
299 <uname_test version="1" id="oval:1:tst:3" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
300 <object object_ref="oval:1:obj:1"/>
301 </uname_test>
302
303 <!-- check="only one" -->
304
305 <uname_test version="1" id="oval:1:tst:4" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
306 <object object_ref="oval:1:obj:1"/>
307 </uname_test>
308
309 <!-- STATELESS OBJECT -->
310
311 <!-- check_existence="all_exist" check="all" -->
312
313 <uname_test version="1" id="oval:1:tst:5" check_existence="all_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
314 <object object_ref="oval:1:obj:1"/>
315 </uname_test>
316
317 <!-- check_existence="all_exist" check="at least one" -->
318
319 <uname_test version="1" id="oval:1:tst:6" check_existence="all_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
320 <object object_ref="oval:1:obj:1"/>
321 </uname_test>
322
323 <!-- check_existence="all_exist" check="none satisfy" -->
324
325 <uname_test version="1" id="oval:1:tst:7" check_existence="all_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
326 <object object_ref="oval:1:obj:1"/>
327 </uname_test>
328
329 <!-- check_existence="all_exist" check="only one" -->
330
331 <uname_test version="1" id="oval:1:tst:8" check_existence="all_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
332 <object object_ref="oval:1:obj:1"/>
333 </uname_test>
334
335 <!-- check_existence="at_least_one_exists" check="all" -->
336
337 <uname_test version="1" id="oval:1:tst:9" check_existence="at_least_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
338 <object object_ref="oval:1:obj:1"/>
339 </uname_test>
340
341 <!-- check_existence="at_least_one_exists" check="at least one" -->
342
343 <uname_test version="1" id="oval:1:tst:10" check_existence="at_least_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
344 <object object_ref="oval:1:obj:1"/>
345 </uname_test>
346
347 <!-- check_existence="at_least_one_exists" check="none satisfy" -->
348
349 <uname_test version="1" id="oval:1:tst:11" check_existence="at_least_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
350 <object object_ref="oval:1:obj:1"/>
351 </uname_test>
352
353 <!-- check_existence="at_least_one_exists" check="only one" -->
354
355 <uname_test version="1" id="oval:1:tst:12" check_existence="at_least_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
356 <object object_ref="oval:1:obj:1"/>
357 </uname_test>
358
359 <!-- check_existence="any_exist" check="all" -->
360
361 <uname_test version="1" id="oval:1:tst:13" check_existence="any_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
362 <object object_ref="oval:1:obj:1"/>
363 </uname_test>
364
365 <!-- check_existence="any_exist" check="at least one" -->
366
367 <uname_test version="1" id="oval:1:tst:14" check_existence="any_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
368 <object object_ref="oval:1:obj:1"/>
369 </uname_test>
370
371 <!-- check_existence="any_exist" check="none satisfy" -->
372
373 <uname_test version="1" id="oval:1:tst:15" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
374 <object object_ref="oval:1:obj:1"/>
375 </uname_test>
376
377 <!-- check_existence="any_exist" check="only one" -->
378
379 <uname_test version="1" id="oval:1:tst:16" check_existence="any_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
380 <object object_ref="oval:1:obj:1"/>
381 </uname_test>
382
383 <!-- check_existence="none_exist" check="all" -->
384
385 <uname_test version="1" id="oval:1:tst:17" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
386 <object object_ref="oval:1:obj:1"/>
387 </uname_test>
388
389 <!-- check_existence="none_exist" check="at least one" -->
390
391 <uname_test version="1" id="oval:1:tst:18" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
392 <object object_ref="oval:1:obj:1"/>
393 </uname_test>
394
395 <!-- check_existence="none_exist" check="none satisfy" -->
396
397 <uname_test version="1" id="oval:1:tst:19" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
398 <object object_ref="oval:1:obj:1"/>
399 </uname_test>
400
401 <!-- check_existence="none_exist" check="only one" -->
402
403 <uname_test version="1" id="oval:1:tst:20" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
404 <object object_ref="oval:1:obj:1"/>
405 </uname_test>
406
407 <!-- check_existence="only_one_exists" check="all" -->
408
409 <uname_test version="1" id="oval:1:tst:21" check_existence="only_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
410 <object object_ref="oval:1:obj:1"/>
411 </uname_test>
412
413 <!-- check_existence="only_one_exists" check="at least one" -->
414
415 <uname_test version="1" id="oval:1:tst:22" check_existence="only_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
416 <object object_ref="oval:1:obj:1"/>
417 </uname_test>
418
419 <!-- check_existence="only_one_exists" check="none satisfy" -->
420
421 <uname_test version="1" id="oval:1:tst:23" check_existence="only_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
422 <object object_ref="oval:1:obj:1"/>
423 </uname_test>
424
425 <!-- check_existence="only_one_exists" check="only one" -->
426
427 <uname_test version="1" id="oval:1:tst:24" check_existence="only_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
428 <object object_ref="oval:1:obj:1"/>
429 </uname_test>
430
431 <!-- DEFAULT OBJECT WITH STATE -->
432
433 <!-- check="all" -->
434
435 <uname_test version="1" id="oval:1:tst:25" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
436 <object object_ref="oval:1:obj:1"/>
437 <state state_ref="oval:1:ste:1"/>
438 </uname_test>
439
440 <uname_test version="1" id="oval:1:tst:26" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
441 <object object_ref="oval:1:obj:1"/>
442 <state state_ref="oval:1:ste:2"/>
443 </uname_test>
444
445 <uname_test version="1" id="oval:1:tst:27" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
446 <object object_ref="oval:1:obj:1"/>
447 <state state_ref="oval:1:ste:3"/>
448 </uname_test>
449
450 <!-- check="at least one" -->
451
452 <uname_test version="1" id="oval:1:tst:28" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
453 <object object_ref="oval:1:obj:1"/>
454 <state state_ref="oval:1:ste:1"/>
455 </uname_test>
456
457 <uname_test version="1" id="oval:1:tst:29" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
458 <object object_ref="oval:1:obj:1"/>
459 <state state_ref="oval:1:ste:2"/>
460 </uname_test>
461
462 <uname_test version="1" id="oval:1:tst:30" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
463 <object object_ref="oval:1:obj:1"/>
464 <state state_ref="oval:1:ste:3"/>
465 </uname_test>
466
467 <!-- check="none satisfy" -->
468
469 <uname_test version="1" id="oval:1:tst:31" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
470 <object object_ref="oval:1:obj:1"/>
471 <state state_ref="oval:1:ste:1"/>
472 </uname_test>
473
474 <uname_test version="1" id="oval:1:tst:32" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
475 <object object_ref="oval:1:obj:1"/>
476 <state state_ref="oval:1:ste:2"/>
477 </uname_test>
478
479 <uname_test version="1" id="oval:1:tst:33" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
480 <object object_ref="oval:1:obj:1"/>
481 <state state_ref="oval:1:ste:3"/>
482 </uname_test>
483
484 <!-- check="only one" -->
485
486 <uname_test version="1" id="oval:1:tst:34" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
487 <object object_ref="oval:1:obj:1"/>
488 <state state_ref="oval:1:ste:1"/>
489 </uname_test>
490
491 <uname_test version="1" id="oval:1:tst:35" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
492 <object object_ref="oval:1:obj:1"/>
493 <state state_ref="oval:1:ste:2"/>
494 </uname_test>
495
496 <uname_test version="1" id="oval:1:tst:36" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
497 <object object_ref="oval:1:obj:1"/>
498 <state state_ref="oval:1:ste:3"/>
499 </uname_test>
500
501 <!-- OBJECT WITH STATE -->
502
503 <!-- check_existence="all_exist" check="all" -->
504
505 <uname_test version="1" id="oval:1:tst:37" check_existence="all_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
506 <object object_ref="oval:1:obj:1"/>
507 <state state_ref="oval:1:ste:1"/>
508 </uname_test>
509
510 <uname_test version="1" id="oval:1:tst:38" check_existence="all_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
511 <object object_ref="oval:1:obj:1"/>
512 <state state_ref="oval:1:ste:2"/>
513 </uname_test>
514
515 <uname_test version="1" id="oval:1:tst:39" check_existence="all_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
516 <object object_ref="oval:1:obj:1"/>
517 <state state_ref="oval:1:ste:3"/>
518 </uname_test>
519
520 <!-- check_existence="all_exist" check="at least one" -->
521
522 <uname_test version="1" id="oval:1:tst:40" check_existence="all_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
523 <object object_ref="oval:1:obj:1"/>
524 <state state_ref="oval:1:ste:1"/>
525 </uname_test>
526
527 <uname_test version="1" id="oval:1:tst:41" check_existence="all_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
528 <object object_ref="oval:1:obj:1"/>
529 <state state_ref="oval:1:ste:2"/>
530 </uname_test>
531
532 <uname_test version="1" id="oval:1:tst:42" check_existence="all_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
533 <object object_ref="oval:1:obj:1"/>
534 <state state_ref="oval:1:ste:3"/>
535 </uname_test>
536
537 <!-- check_existence="all_exist" check="none satisfy" -->
538
539 <uname_test version="1" id="oval:1:tst:43" check_existence="all_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
540 <object object_ref="oval:1:obj:1"/>
541 <state state_ref="oval:1:ste:1"/>
542 </uname_test>
543
544 <uname_test version="1" id="oval:1:tst:44" check_existence="all_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
545 <object object_ref="oval:1:obj:1"/>
546 <state state_ref="oval:1:ste:2"/>
547 </uname_test>
548
549 <uname_test version="1" id="oval:1:tst:45" check_existence="all_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
550 <object object_ref="oval:1:obj:1"/>
551 <state state_ref="oval:1:ste:3"/>
552 </uname_test>
553
554 <!-- check_existence="all_exist" check="only one" -->
555
556 <uname_test version="1" id="oval:1:tst:46" check_existence="all_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
557 <object object_ref="oval:1:obj:1"/>
558 <state state_ref="oval:1:ste:1"/>
559 </uname_test>
560
561 <uname_test version="1" id="oval:1:tst:47" check_existence="all_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
562 <object object_ref="oval:1:obj:1"/>
563 <state state_ref="oval:1:ste:2"/>
564 </uname_test>
565
566 <uname_test version="1" id="oval:1:tst:48" check_existence="all_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
567 <object object_ref="oval:1:obj:1"/>
568 <state state_ref="oval:1:ste:3"/>
569 </uname_test>
570
571 <!-- check_existence="any_exist" check="all" -->
572
573 <uname_test version="1" id="oval:1:tst:49" check_existence="any_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
574 <object object_ref="oval:1:obj:1"/>
575 <state state_ref="oval:1:ste:1"/>
576 </uname_test>
577
578 <uname_test version="1" id="oval:1:tst:50" check_existence="any_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
579 <object object_ref="oval:1:obj:1"/>
580 <state state_ref="oval:1:ste:3"/>
581 </uname_test>
582
583 <uname_test version="1" id="oval:1:tst:51" check_existence="any_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
584 <object object_ref="oval:1:obj:1"/>
585 <state state_ref="oval:1:ste:3"/>
586 </uname_test>
587
588 <!-- check_existence="any_exist" check="at least one" -->
589
590 <uname_test version="1" id="oval:1:tst:52" check_existence="any_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
591 <object object_ref="oval:1:obj:1"/>
592 <state state_ref="oval:1:ste:1"/>
593 </uname_test>
594
595 <uname_test version="1" id="oval:1:tst:53" check_existence="any_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
596 <object object_ref="oval:1:obj:1"/>
597 <state state_ref="oval:1:ste:2"/>
598 </uname_test>
599
600 <uname_test version="1" id="oval:1:tst:54" check_existence="any_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
601 <object object_ref="oval:1:obj:1"/>
602 <state state_ref="oval:1:ste:3"/>
603 </uname_test>
604
605 <!-- check_existence="any_exist" check="none satisfy" -->
606
607 <uname_test version="1" id="oval:1:tst:55" check_existence="any_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
608 <object object_ref="oval:1:obj:1"/>
609 <state state_ref="oval:1:ste:1"/>
610 </uname_test>
611
612 <uname_test version="1" id="oval:1:tst:56" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
613 <object object_ref="oval:1:obj:1"/>
614 <state state_ref="oval:1:ste:2"/>
615 </uname_test>
616
617 <uname_test version="1" id="oval:1:tst:57" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
618 <object object_ref="oval:1:obj:1"/>
619 <state state_ref="oval:1:ste:3"/>
620 </uname_test>
621
622 <!-- check_existence="any_exist" check="only one" -->
623
624 <uname_test version="1" id="oval:1:tst:58" check_existence="any_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
625 <object object_ref="oval:1:obj:1"/>
626 <state state_ref="oval:1:ste:1"/>
627 </uname_test>
628
629 <uname_test version="1" id="oval:1:tst:59" check_existence="any_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
630 <object object_ref="oval:1:obj:1"/>
631 <state state_ref="oval:1:ste:2"/>
632 </uname_test>
633
634 <uname_test version="1" id="oval:1:tst:60" check_existence="any_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
635 <object object_ref="oval:1:obj:1"/>
636 <state state_ref="oval:1:ste:3"/>
637 </uname_test>
638
639 <!-- check_existence="at_least_one_exists" check="all" -->
640
641 <uname_test version="1" id="oval:1:tst:61" check_existence="at_least_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
642 <object object_ref="oval:1:obj:1"/>
643 <state state_ref="oval:1:ste:1"/>
644 </uname_test>
645
646 <uname_test version="1" id="oval:1:tst:62" check_existence="at_least_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
647 <object object_ref="oval:1:obj:1"/>
648 <state state_ref="oval:1:ste:2"/>
649 </uname_test>
650
651 <uname_test version="1" id="oval:1:tst:63" check_existence="at_least_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
652 <object object_ref="oval:1:obj:1"/>
653 <state state_ref="oval:1:ste:3"/>
654 </uname_test>
655
656 <!-- check_existence="at_least_one_exists" check="at least one" -->
657
658 <uname_test version="1" id="oval:1:tst:64" check_existence="at_least_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
659 <object object_ref="oval:1:obj:1"/>
660 <state state_ref="oval:1:ste:1"/>
661 </uname_test>
662
663 <uname_test version="1" id="oval:1:tst:65" check_existence="at_least_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
664 <object object_ref="oval:1:obj:1"/>
665 <state state_ref="oval:1:ste:2"/>
666 </uname_test>
667
668 <uname_test version="1" id="oval:1:tst:66" check_existence="at_least_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
669 <object object_ref="oval:1:obj:1"/>
670 <state state_ref="oval:1:ste:3"/>
671 </uname_test>
672
673 <!-- check_existence="at_least_one_exists" check="none satisfy" -->
674
675 <uname_test version="1" id="oval:1:tst:67" check_existence="at_least_one_exists" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
676 <object object_ref="oval:1:obj:1"/>
677 <state state_ref="oval:1:ste:1"/>
678 </uname_test>
679
680 <uname_test version="1" id="oval:1:tst:68" check_existence="at_least_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
681 <object object_ref="oval:1:obj:1"/>
682 <state state_ref="oval:1:ste:2"/>
683 </uname_test>
684
685 <uname_test version="1" id="oval:1:tst:69" check_existence="at_least_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
686 <object object_ref="oval:1:obj:1"/>
687 <state state_ref="oval:1:ste:3"/>
688 </uname_test>
689
690 <!-- check_existence="at_least_one_exists" check="only one" -->
691
692 <uname_test version="1" id="oval:1:tst:70" check_existence="at_least_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
693 <object object_ref="oval:1:obj:1"/>
694 <state state_ref="oval:1:ste:1"/>
695 </uname_test>
696
697 <uname_test version="1" id="oval:1:tst:71" check_existence="at_least_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
698 <object object_ref="oval:1:obj:1"/>
699 <state state_ref="oval:1:ste:2"/>
700 </uname_test>
701
702 <uname_test version="1" id="oval:1:tst:72" check_existence="at_least_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
703 <object object_ref="oval:1:obj:1"/>
704 <state state_ref="oval:1:ste:3"/>
705 </uname_test>
706
707 <!-- check_existence="none_exist" check="all" -->
708
709 <uname_test version="1" id="oval:1:tst:73" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
710 <object object_ref="oval:1:obj:1"/>
711 </uname_test>
712
713 <uname_test version="1" id="oval:1:tst:74" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
714 <object object_ref="oval:1:obj:1"/>
715 </uname_test>
716
717 <uname_test version="1" id="oval:1:tst:75" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
718 <object object_ref="oval:1:obj:1"/>
719 </uname_test>
720
721 <!-- check_existence="none_exist" check="at least one" -->
722
723 <uname_test version="1" id="oval:1:tst:76" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
724 <object object_ref="oval:1:obj:1"/>
725 </uname_test>
726
727 <uname_test version="1" id="oval:1:tst:77" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
728 <object object_ref="oval:1:obj:1"/>
729 </uname_test>
730
731 <uname_test version="1" id="oval:1:tst:78" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
732 <object object_ref="oval:1:obj:1"/>
733 </uname_test>
734
735 <!-- check_existence="none_exist" check="none satisfy" -->
736
737 <uname_test version="1" id="oval:1:tst:79" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
738 <object object_ref="oval:1:obj:1"/>
739 </uname_test>
740
741 <uname_test version="1" id="oval:1:tst:80" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
742 <object object_ref="oval:1:obj:1"/>
743 </uname_test>
744
745 <uname_test version="1" id="oval:1:tst:81" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
746 <object object_ref="oval:1:obj:1"/>
747 </uname_test>
748
749 <!-- check_existence="none_exist" check="only one" -->
750
751 <uname_test version="1" id="oval:1:tst:82" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
752 <object object_ref="oval:1:obj:1"/>
753 </uname_test>
754
755 <uname_test version="1" id="oval:1:tst:83" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
756 <object object_ref="oval:1:obj:1"/>
757 </uname_test>
758
759 <uname_test version="1" id="oval:1:tst:84" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
760 <object object_ref="oval:1:obj:1"/>
761 </uname_test>
762
763 <!-- check_existence="only_one_exists" check="all" -->
764
765 <uname_test version="1" id="oval:1:tst:85" check_existence="only_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
766 <object object_ref="oval:1:obj:1"/>
767 <state state_ref="oval:1:ste:1"/>
768 </uname_test>
769
770 <uname_test version="1" id="oval:1:tst:86" check_existence="only_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
771 <object object_ref="oval:1:obj:1"/>
772 <state state_ref="oval:1:ste:2"/>
773 </uname_test>
774
775 <uname_test version="1" id="oval:1:tst:87" check_existence="only_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
776 <object object_ref="oval:1:obj:1"/>
777 <state state_ref="oval:1:ste:3"/>
778 </uname_test>
779
780 <!-- check_existence="only_one_exists" check="at least one" -->
781
782 <uname_test version="1" id="oval:1:tst:88" check_existence="only_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
783 <object object_ref="oval:1:obj:1"/>
784 <state state_ref="oval:1:ste:1"/>
785 </uname_test>
786
787 <uname_test version="1" id="oval:1:tst:89" check_existence="only_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
788 <object object_ref="oval:1:obj:1"/>
789 <state state_ref="oval:1:ste:2"/>
790 </uname_test>
791
792 <uname_test version="1" id="oval:1:tst:90" check_existence="only_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
793 <object object_ref="oval:1:obj:1"/>
794 <state state_ref="oval:1:ste:3"/>
795 </uname_test>
796
797 <!-- check_existence="only_one_exists" check="none satisfy" -->
798
799 <uname_test version="1" id="oval:1:tst:91" check_existence="only_one_exists" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
800 <object object_ref="oval:1:obj:1"/>
801 <state state_ref="oval:1:ste:1"/>
802 </uname_test>
803
804 <uname_test version="1" id="oval:1:tst:92" check_existence="only_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
805 <object object_ref="oval:1:obj:1"/>
806 <state state_ref="oval:1:ste:2"/>
807 </uname_test>
808
809 <uname_test version="1" id="oval:1:tst:93" check_existence="only_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
810 <object object_ref="oval:1:obj:1"/>
811 <state state_ref="oval:1:ste:3"/>
812 </uname_test>
813
814 <!-- check_existence="only_one_exists" check="only one" -->
815
816 <uname_test version="1" id="oval:1:tst:94" check_existence="only_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
817 <object object_ref="oval:1:obj:1"/>
818 <state state_ref="oval:1:ste:1"/>
819 </uname_test>
820
821 <uname_test version="1" id="oval:1:tst:95" check_existence="only_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
822 <object object_ref="oval:1:obj:1"/>
823 <state state_ref="oval:1:ste:2"/>
824 </uname_test>
825
826 <uname_test version="1" id="oval:1:tst:96" check_existence="only_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
827 <object object_ref="oval:1:obj:1"/>
828 <state state_ref="oval:1:ste:3"/>
829 </uname_test>
830
831 </tests>
832
833 <objects>
834
835 <!-- OBJECT -->
836 <uname_object version="1" id="oval:1:obj:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix"/>
837
838 </objects>
839
840 <states>
841
842 <!-- FULLY TRUE STATE -->
843 <uname_state version="1" id="oval:1:ste:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
844 <machine_class>`uname -m`</machine_class>
845 <node_name>`uname -n`</node_name>
846 <os_name>`uname -s`</os_name>
847 <os_release>`uname -r`</os_release>
848 <os_version>`uname -v | sed 's/[ \t]*$//'`</os_version>
849 <processor_type>`uname -m`</processor_type>
850 </uname_state>
851
852 <!-- FULLY FALSE STATE -->
853 <uname_state version="1" id="oval:1:ste:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
854 <machine_class>X`uname -m`</machine_class>
855 <node_name>X`uname -n`</node_name>
856 <os_name>X`uname -s`</os_name>
857 <os_release>X`uname -r`</os_release>
858 <os_version>X`uname -v | sed 's/[ \t]*$//'`</os_version>
859 <processor_type>X`uname -m`</processor_type>
860 </uname_state>
861
862 <!-- MIXED STATE :-) -->
863 <uname_state version="1" id="oval:1:ste:3" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
864 <machine_class>X`uname -m`</machine_class>
865 <node_name>X`uname -n`</node_name>
866 <os_name>`uname -s`</os_name>
867 <os_release>`uname -r`</os_release>
868 <os_version>`uname -v | sed 's/[ \t]*$//'`</os_version>
869 <processor_type>X`uname -m`</processor_type>
870 </uname_state>
871
872 </states>
873
874 </oval_definitions>
875 EOF