| 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#independent independent-definitions-schema.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5"> |
| 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:392" version="6" class="miscellaneous"> |
| 10 | <metadata> |
| 11 | <title>Evaluate to true if the evr_string datatype is properly supported</title> |
| 12 | <description>This definition is intended to evalutate to true if the interpreter properly supports the evr_string datatype and all of its valid operations.</description> |
| 13 | </metadata> |
| 14 | <criteria operator="AND"> |
| 15 | <criteria operator="AND" comment="True if the equals operation is supported"> |
| 16 | <criterion comment="Test that the equals operation is supported with two equal evr_string values." test_ref="oval:org.mitre.oval.test:tst:715"/> |
| 17 | <criterion negate="true" comment="Test that the equals operation is supported with two unequal evr_string values." test_ref="oval:org.mitre.oval.test:tst:58"/> |
| 18 | </criteria> |
| 19 | <criteria operator="AND" comment="True if the not equal operation is supported"> |
| 20 | <criterion negate="true" comment="Test that the not equal operation is supported with two equal evr_string values." test_ref="oval:org.mitre.oval.test:tst:140"/> |
| 21 | <criterion comment="Test that the not equal operation is supported with two unequal evr_string values." test_ref="oval:org.mitre.oval.test:tst:26"/> |
| 22 | </criteria> |
| 23 | <criteria operator="AND" comment="True if the greater than operation is supported"> |
| 24 | <criterion comment="Test that the greater than operation is supported with a greater than evr_string value." test_ref="oval:org.mitre.oval.test:tst:114"/> |
| 25 | <criterion negate="true" comment="Test that the greater than operation is supported with two equal evr_string values." test_ref="oval:org.mitre.oval.test:tst:923"/> |
| 26 | <criterion negate="true" comment="Test that the greater than operation is supported with a less than evr_string value." test_ref="oval:org.mitre.oval.test:tst:244"/> |
| 27 | </criteria> |
| 28 | <criteria operator="AND" comment="True if the greater than or equal operation is supported"> |
| 29 | <criterion comment="Test that the greater than or equal operation is supported with a greater than evr_string value." test_ref="oval:org.mitre.oval.test:tst:470"/> |
| 30 | <criterion comment="Test that the greater than or equal operation is supported with two equal evr_string values." test_ref="oval:org.mitre.oval.test:tst:975"/> |
| 31 | <criterion negate="true" comment="Test that the greater than or equal operation is supported with a less than evr_string value." test_ref="oval:org.mitre.oval.test:tst:298"/> |
| 32 | </criteria> |
| 33 | <criteria operator="AND" comment="True if the less than operation is supported"> |
| 34 | <criterion comment="Test that the less than operation is supported with a less than evr_string value." test_ref="oval:org.mitre.oval.test:tst:500"/> |
| 35 | <criterion negate="true" comment="Test that the less than operation is supported with two equal evr_string values." test_ref="oval:org.mitre.oval.test:tst:293"/> |
| 36 | <criterion negate="true" comment="Test that the less than operation is supported with a greater than evr_string value." test_ref="oval:org.mitre.oval.test:tst:960"/> |
| 37 | </criteria> |
| 38 | <criteria operator="AND" comment="True if the less than or equal operation is supported"> |
| 39 | <criterion comment="Test that the less than or equal operation is supported with a less than evr_string value." test_ref="oval:org.mitre.oval.test:tst:168"/> |
| 40 | <criterion comment="Test that the less than or equal operation is supported with two equal evr_string values." test_ref="oval:org.mitre.oval.test:tst:39"/> |
| 41 | <criterion negate="true" comment="Test that the less than or equal operation is supported with a greater than evr_string value." test_ref="oval:org.mitre.oval.test:tst:744"/> |
| 42 | </criteria> |
| 43 | </criteria> |
| 44 | </definition> |
| 45 | </definitions> |
| 46 | <tests> |
| 47 | <variable_test id="oval:org.mitre.oval.test:tst:715" version="1" comment="Test that the equals operation is supported with two equal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 48 | <object object_ref="oval:org.mitre.oval.test:obj:181"/> |
| 49 | <state state_ref="oval:org.mitre.oval.test:ste:33"/> |
| 50 | </variable_test> |
| 51 | <variable_test id="oval:org.mitre.oval.test:tst:58" version="1" comment="Test that the equals operation is supported with two unequal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 52 | <object object_ref="oval:org.mitre.oval.test:obj:832"/> |
| 53 | <state state_ref="oval:org.mitre.oval.test:ste:729"/> |
| 54 | </variable_test> |
| 55 | <variable_test id="oval:org.mitre.oval.test:tst:140" version="1" comment="Test that the not equal operation is supported with two equal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 56 | <object object_ref="oval:org.mitre.oval.test:obj:515"/> |
| 57 | <state state_ref="oval:org.mitre.oval.test:ste:355"/> |
| 58 | </variable_test> |
| 59 | <variable_test id="oval:org.mitre.oval.test:tst:26" version="4" comment="Test that the not equal operation is supported with two unequal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 60 | <object object_ref="oval:org.mitre.oval.test:obj:904"/> |
| 61 | <state state_ref="oval:org.mitre.oval.test:ste:883"/> |
| 62 | </variable_test> |
| 63 | <variable_test id="oval:org.mitre.oval.test:tst:114" version="3" comment="Test that the greater than operation is supported with a greater than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 64 | <object object_ref="oval:org.mitre.oval.test:obj:181"/> |
| 65 | <state state_ref="oval:org.mitre.oval.test:ste:391"/> |
| 66 | </variable_test> |
| 67 | <variable_test id="oval:org.mitre.oval.test:tst:923" version="1" comment="Test that the greater than operation is supported with two equal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 68 | <object object_ref="oval:org.mitre.oval.test:obj:515"/> |
| 69 | <state state_ref="oval:org.mitre.oval.test:ste:62"/> |
| 70 | </variable_test> |
| 71 | <variable_test id="oval:org.mitre.oval.test:tst:244" version="1" comment="Test that the greater than operation is supported with a less than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 72 | <object object_ref="oval:org.mitre.oval.test:obj:832"/> |
| 73 | <state state_ref="oval:org.mitre.oval.test:ste:393"/> |
| 74 | </variable_test> |
| 75 | <variable_test id="oval:org.mitre.oval.test:tst:470" version="1" comment="Test that the greater than or equal operation is supported with a greater than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 76 | <object object_ref="oval:org.mitre.oval.test:obj:882"/> |
| 77 | <state state_ref="oval:org.mitre.oval.test:ste:528"/> |
| 78 | </variable_test> |
| 79 | <variable_test id="oval:org.mitre.oval.test:tst:975" version="1" comment="Test that the greater than or equal operation is supported with two equal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 80 | <object object_ref="oval:org.mitre.oval.test:obj:515"/> |
| 81 | <state state_ref="oval:org.mitre.oval.test:ste:31"/> |
| 82 | </variable_test> |
| 83 | <variable_test id="oval:org.mitre.oval.test:tst:298" version="1" comment="Test that the greater than or equal operation is supported with a less than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 84 | <object object_ref="oval:org.mitre.oval.test:obj:832"/> |
| 85 | <state state_ref="oval:org.mitre.oval.test:ste:833"/> |
| 86 | </variable_test> |
| 87 | <variable_test id="oval:org.mitre.oval.test:tst:500" version="1" comment="Test that the less than operation is supported with a less than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 88 | <object object_ref="oval:org.mitre.oval.test:obj:832"/> |
| 89 | <state state_ref="oval:org.mitre.oval.test:ste:509"/> |
| 90 | </variable_test> |
| 91 | <variable_test id="oval:org.mitre.oval.test:tst:293" version="1" comment="Test that the less than operation is supported with two equal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 92 | <object object_ref="oval:org.mitre.oval.test:obj:515"/> |
| 93 | <state state_ref="oval:org.mitre.oval.test:ste:604"/> |
| 94 | </variable_test> |
| 95 | <variable_test id="oval:org.mitre.oval.test:tst:960" version="1" comment="Test that the less than operation is supported with a greater than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 96 | <object object_ref="oval:org.mitre.oval.test:obj:882"/> |
| 97 | <state state_ref="oval:org.mitre.oval.test:ste:91"/> |
| 98 | </variable_test> |
| 99 | <variable_test id="oval:org.mitre.oval.test:tst:168" version="1" comment="Test that the less than or equal operation is supported with a less than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 100 | <object object_ref="oval:org.mitre.oval.test:obj:832"/> |
| 101 | <state state_ref="oval:org.mitre.oval.test:ste:217"/> |
| 102 | </variable_test> |
| 103 | <variable_test id="oval:org.mitre.oval.test:tst:39" version="1" comment="Test that the less than or equal operation is supported with two equal evr_string values." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 104 | <object object_ref="oval:org.mitre.oval.test:obj:515"/> |
| 105 | <state state_ref="oval:org.mitre.oval.test:ste:315"/> |
| 106 | </variable_test> |
| 107 | <variable_test id="oval:org.mitre.oval.test:tst:744" version="1" comment="Test that the less than or equal operation is supported with a greater than evr_string value." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 108 | <object object_ref="oval:org.mitre.oval.test:obj:882"/> |
| 109 | <state state_ref="oval:org.mitre.oval.test:ste:511"/> |
| 110 | </variable_test> |
| 111 | </tests> |
| 112 | <objects> |
| 113 | <variable_object id="oval:org.mitre.oval.test:obj:515" version="1" comment="This variable_object references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 114 | <var_ref>oval:org.mitre.oval.test:var:597</var_ref> |
| 115 | </variable_object> |
| 116 | <variable_object id="oval:org.mitre.oval.test:obj:832" version="1" comment="This variable_object references the evr_string value '1:0.1.2-3.4'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 117 | <var_ref>oval:org.mitre.oval.test:var:406</var_ref> |
| 118 | </variable_object> |
| 119 | <variable_object id="oval:org.mitre.oval.test:obj:882" version="1" comment="This variable_object references the evr_string value '15:4.9.3-6.7.8.9'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 120 | <var_ref>oval:org.mitre.oval.test:var:67</var_ref> |
| 121 | </variable_object> |
| 122 | <variable_object id="oval:org.mitre.oval.test:obj:904" version="4" comment="This variable_object references the evr_string value '0:3.5ssa-0.20030801.48'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 123 | <var_ref>oval:org.mitre.oval.test:var:235</var_ref> |
| 124 | </variable_object> |
| 125 | <variable_object id="oval:org.mitre.oval.test:obj:181" version="1" comment="This variable_object references the evr_string value '5:1.9.10-1.RHEL'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 126 | <var_ref>oval:org.mitre.oval.test:var:678</var_ref> |
| 127 | </variable_object> |
| 128 | </objects> |
| 129 | <states> |
| 130 | <variable_state id="oval:org.mitre.oval.test:ste:33" version="1" comment="This variable_state references the evr_string value '5:1.9.10-1.RHEL'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 131 | <value datatype="evr_string">5:1.9.10-1.RHEL</value> |
| 132 | </variable_state> |
| 133 | <variable_state id="oval:org.mitre.oval.test:ste:729" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 134 | <value datatype="evr_string">1:2.3.4-5.6</value> |
| 135 | </variable_state> |
| 136 | <variable_state id="oval:org.mitre.oval.test:ste:355" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 137 | <value datatype="evr_string" operation="not equal">1:2.3.4-5.6</value> |
| 138 | </variable_state> |
| 139 | <variable_state id="oval:org.mitre.oval.test:ste:883" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 140 | <value datatype="evr_string" operation="not equal">1:2.3.4-5.6</value> |
| 141 | </variable_state> |
| 142 | <variable_state id="oval:org.mitre.oval.test:ste:391" version="3" comment="This variable_state references the evr_string value '0:3.5ssa-0.20030801.48'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 143 | <value datatype="evr_string" operation="greater than">0:3.5ssa-0.20030801.48</value> |
| 144 | </variable_state> |
| 145 | <variable_state id="oval:org.mitre.oval.test:ste:62" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 146 | <value datatype="evr_string" operation="greater than">1:2.3.4-5.6</value> |
| 147 | </variable_state> |
| 148 | <variable_state id="oval:org.mitre.oval.test:ste:393" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 149 | <value datatype="evr_string" operation="greater than">1:2.3.4-5.6</value> |
| 150 | </variable_state> |
| 151 | <variable_state id="oval:org.mitre.oval.test:ste:528" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 152 | <value datatype="evr_string" operation="greater than or equal">1:2.3.4-5.6</value> |
| 153 | </variable_state> |
| 154 | <variable_state id="oval:org.mitre.oval.test:ste:31" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 155 | <value datatype="evr_string" operation="greater than or equal">1:2.3.4-5.6</value> |
| 156 | </variable_state> |
| 157 | <variable_state id="oval:org.mitre.oval.test:ste:833" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 158 | <value datatype="evr_string" operation="greater than or equal">1:2.3.4-5.6</value> |
| 159 | </variable_state> |
| 160 | <variable_state id="oval:org.mitre.oval.test:ste:509" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 161 | <value datatype="evr_string" operation="less than">1:2.3.4-5.6</value> |
| 162 | </variable_state> |
| 163 | <variable_state id="oval:org.mitre.oval.test:ste:604" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 164 | <value datatype="evr_string" operation="less than">1:2.3.4-5.6</value> |
| 165 | </variable_state> |
| 166 | <variable_state id="oval:org.mitre.oval.test:ste:91" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 167 | <value datatype="evr_string" operation="less than">1:2.3.4-5.6</value> |
| 168 | </variable_state> |
| 169 | <variable_state id="oval:org.mitre.oval.test:ste:217" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 170 | <value datatype="evr_string" operation="less than or equal">1:2.3.4-5.6</value> |
| 171 | </variable_state> |
| 172 | <variable_state id="oval:org.mitre.oval.test:ste:315" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 173 | <value datatype="evr_string" operation="less than or equal">1:2.3.4-5.6</value> |
| 174 | </variable_state> |
| 175 | <variable_state id="oval:org.mitre.oval.test:ste:511" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 176 | <value datatype="evr_string" operation="less than or equal">1:2.3.4-5.6</value> |
| 177 | </variable_state> |
| 178 | <variable_state id="oval:org.mitre.oval.test:ste:804" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 179 | <value datatype="evr_string" operation="less than or equal">1:2.3.4-5.6</value> |
| 180 | </variable_state> |
| 181 | <variable_state id="oval:org.mitre.oval.test:ste:32" version="1" comment="This variable_state references the evr_string value '1:2.3.4-5.6'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 182 | <value datatype="evr_string" operation="less than or equal">1:2.3.4-5.6</value> |
| 183 | </variable_state> |
| 184 | </states> |
| 185 | <variables> |
| 186 | <constant_variable id="oval:org.mitre.oval.test:var:597" version="1" comment="This variable_object represents the evr_string value '1:2.3.4-5.6'." datatype="evr_string"> |
| 187 | <value>1:2.3.4-5.6</value> |
| 188 | </constant_variable> |
| 189 | <constant_variable id="oval:org.mitre.oval.test:var:406" version="1" comment="This variable_object represents the evr_string value '1:0.1.2-3.4'." datatype="evr_string"> |
| 190 | <value>1:0.1.2-3.4</value> |
| 191 | </constant_variable> |
| 192 | <constant_variable id="oval:org.mitre.oval.test:var:67" version="1" comment="This variable_object represents the evr_string value '15:4.9.3-6.7.8.9'." datatype="evr_string"> |
| 193 | <value>15:4.9.3-6.7.8.9</value> |
| 194 | </constant_variable> |
| 195 | <constant_variable id="oval:org.mitre.oval.test:var:235" version="3" comment="This variable_object represents the evr_string value '0:3.5ssa-0.20030801.48'." datatype="evr_string"> |
| 196 | <value>0:3.5ssa-0.20030801.48</value> |
| 197 | </constant_variable> |
| 198 | <constant_variable id="oval:org.mitre.oval.test:var:678" version="1" comment="This variable_object represents the evr_string value '5:1.9.10-1.RHEL'." datatype="evr_string"> |
| 199 | <value>5:1.9.10-1.RHEL</value> |
| 200 | </constant_variable> |
| 201 | </variables> |
| 202 | </oval_definitions> |