Debian Codegraph @

tests/mitre/linux-def_slackwarepkginfo_test.xml

raw symbols SCIP
1 <?xml version="1.0" encoding="UTF-8"?>
2 <oval_definitions xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:linux-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
3 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
6 <terms_of_use>Copyright (c) 2002-2012, The MITRE Corporation. All rights reserved. The contents of this file are subject to the license described in terms.txt.</terms_of_use>
7 </generator>
8 <definitions>
9 <definition id="oval:org.mitre.oval.test:def:196" version="1" class="miscellaneous">
10 <metadata>
11 <title>Evaluate to true if the linux-def:slackwarepkginfo_test is properly supported</title>
12 <description>This definition is intended to evalutate to true if the interpreter properly supports the linux-def:slackwarepkginfo_test.</description>
13 </metadata>
14 <notes>
15 <note>It is important to note that the values used in this test definition are specific to a particular machine, and may not necessarily apply to your system. As a result, in order to have the definition return a result of 'true', you must either change these values to the ones found on your particular system, or you must configure your system to use these values.</note>
16 </notes>
17 <criteria operator="AND">
18 <criterion comment="Test that the slackwarepkginfo_object is supported with the name entity equal to some value." test_ref="oval:org.mitre.oval.test:tst:54"/>
19 <criterion comment="Test that the slackwarepkginfo_object is supported with the name entity not equal to some value." test_ref="oval:org.mitre.oval.test:tst:131"/>
20 <criterion comment="Test that the slackwarepkginfo_object is supported with the name entity matching some regular expression." test_ref="oval:org.mitre.oval.test:tst:973"/>
21 </criteria>
22 </definition>
23 </definitions>
24 <tests>
25 <slackwarepkginfo_test id="oval:org.mitre.oval.test:tst:54" version="1" comment="Test that the slackwarepkginfo_object is supported with the name entity equal to some value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
26 <object object_ref="oval:org.mitre.oval.test:obj:290"/>
27 <state state_ref="oval:org.mitre.oval.test:ste:190"/>
28 </slackwarepkginfo_test>
29 <slackwarepkginfo_test id="oval:org.mitre.oval.test:tst:131" version="1" comment="Test that the slackwarepkginfo_object is supported with the name entity not equal to some value." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
30 <object object_ref="oval:org.mitre.oval.test:obj:690"/>
31 <state state_ref="oval:org.mitre.oval.test:ste:937"/>
32 </slackwarepkginfo_test>
33 <slackwarepkginfo_test id="oval:org.mitre.oval.test:tst:973" version="1" comment="Test that the slackwarepkginfo_object is supported with the name entity matching some regular expression." check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
34 <object object_ref="oval:org.mitre.oval.test:obj:750"/>
35 <state state_ref="oval:org.mitre.oval.test:ste:990"/>
36 </slackwarepkginfo_test>
37 </tests>
38 <objects>
39 <slackwarepkginfo_object id="oval:org.mitre.oval.test:obj:290" version="1" comment="Retrieve an slackwarepkginfo_item with a name equal to 'pkgtools-13.0-noarch-2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
40 <name>pkgtools-13.0-noarch-2</name>
41 </slackwarepkginfo_object>
42 <slackwarepkginfo_object id="oval:org.mitre.oval.test:obj:690" version="1" comment="Retrieve slackwarepkginfo_items with names that are not equal to 'pkgtools-13.0-noarch-2'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
43 <name operation="not equal">pkgtools-13.0-noarch-2</name>
44 </slackwarepkginfo_object>
45 <slackwarepkginfo_object id="oval:org.mitre.oval.test:obj:750" version="1" comment="Retrieve slackwarepkginfo_items with names that match the regular expression '^pkgtools-[0-9.]{4}-[a-z]{6}-2$'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
46 <name operation="pattern match">^pkgtools-[0-9.]{4}-[a-z]{6}-2$</name>
47 </slackwarepkginfo_object>
48 </objects>
49 <states>
50 <slackwarepkginfo_state id="oval:org.mitre.oval.test:ste:190" version="1" comment="This state represents an slackwarepkginfo_item that has a name equal to 'pkgtools-13.0-noarch-2', and a version, architecture, and revision that match the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
51 <name>pkgtools-13.0-noarch-2</name>
52 <version operation="pattern match">.*</version>
53 <architecture operation="pattern match">.*</architecture>
54 <revision operation="pattern match">.*</revision>
55 </slackwarepkginfo_state>
56 <slackwarepkginfo_state id="oval:org.mitre.oval.test:ste:937" version="1" comment="This state represents slackwarepkginfo_items that have a name not equal to 'pkgtools-13.0-noarch-2', and a version, architecture, and revision that match the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
57 <name operation="not equal">pkgtools-13.0-noarch-2</name>
58 <version operation="pattern match">.*</version>
59 <architecture operation="pattern match">.*</architecture>
60 <revision operation="pattern match">.*</revision>
61 </slackwarepkginfo_state>
62 <slackwarepkginfo_state id="oval:org.mitre.oval.test:ste:990" version="1" comment="This state represents slackwarepkginfo_items that have a name that matches the regular expression '^pkgtools-[0-9.]{4}-[a-z]{6}-2$', and a version, architecture, and revision that match the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
63 <name operation="pattern match">^pkgtools-[0-9.]{4}-[a-z]{6}-2$</name>
64 <version operation="pattern match">.*</version>
65 <architecture operation="pattern match">.*</architecture>
66 <revision operation="pattern match">.*</revision>
67 </slackwarepkginfo_state>
68 </states>
69 </oval_definitions>