Debian Codegraph @

tests/API/OVAL/unittests/test_int_comparison.oval.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 </generator>
7 <definitions>
8 <definition id="oval:org.mitre.oval.test:def:445" version="1" class="miscellaneous">
9 <metadata>
10 <title>Evaluate to true if the linux-def:partition_test is properly supported</title>
11 <description>This definition is intended to evalutate to true if the interpreter properly supports the linux-def:partition_test.</description>
12 </metadata>
13 <notes>
14 <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>
15 </notes>
16 <criteria operator="AND">
17 <criterion comment="Test that the partition_object is supported with the name entity equal to some value." test_ref="oval:org.mitre.oval.test:tst:1854"/>
18 </criteria>
19 </definition>
20 </definitions>
21 <tests>
22 <partition_test id="oval:org.mitre.oval.test:tst:1854" version="1" comment="Test that the partition_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">
23 <object object_ref="oval:org.mitre.oval.test:obj:1062"/>
24 <state state_ref="oval:org.mitre.oval.test:ste:1386"/>
25 </partition_test>
26 </tests>
27 <objects>
28 <partition_object id="oval:org.mitre.oval.test:obj:1062" version="1" comment="Retrieve an partition_item with a name equal to '/'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
29 <mount_point>/mnt/redhat</mount_point>
30 </partition_object>
31 </objects>
32 <states>
33 <partition_state id="oval:org.mitre.oval.test:ste:1386" version="1" comment="This state represents a partition_item that has a mount_point equal to '/', a device entity that matches the regular expression '.*', mount_options entities that match the regular expression '.*', and total_space, space_used, and space_left entities greater than or equal to '0'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
34 <mount_point>/mnt/redhat</mount_point>
35 <device operation="pattern match">.*</device>
36 <mount_options operation="pattern match" entity_check="all">.*</mount_options>
37 <total_space datatype="int" operation="greater than or equal">0</total_space>
38 <space_used datatype="int" operation="greater than or equal">0</space_used>
39 <space_left datatype="int" operation="greater than or equal">0</space_left>
40 </partition_state>
41 </states>
42 </oval_definitions>