| 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:538" version="1" class="miscellaneous"> |
| 10 | <metadata> |
| 11 | <title>Evaluate to true if the ind-def:variable_test is properly supported</title> |
| 12 | <description>This definition is intended to evalutate to true if the interpreter properly supports the ind-def:variable_test and all of its valid operations.</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 variable_object is supported." test_ref="oval:org.mitre.oval.test:tst:247"/> |
| 19 | </criteria> |
| 20 | </definition> |
| 21 | </definitions> |
| 22 | <tests> |
| 23 | <variable_test id="oval:org.mitre.oval.test:tst:247" version="1" comment="Test that the variable_object is supported." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 24 | <object object_ref="oval:org.mitre.oval.test:obj:953"/> |
| 25 | <state state_ref="oval:org.mitre.oval.test:ste:75"/> |
| 26 | </variable_test> |
| 27 | </tests> |
| 28 | <objects> |
| 29 | <variable_object id="oval:org.mitre.oval.test:obj:953" version="1" comment="Variable object that references the string values 'a', 'b', and 'c'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 30 | <var_ref>oval:org.mitre.oval.test:var:244</var_ref> |
| 31 | </variable_object> |
| 32 | </objects> |
| 33 | <states> |
| 34 | <variable_state id="oval:org.mitre.oval.test:ste:75" version="1" comment="This variable_state represents the variable_object where the var_ref equals 'oval:org.mitre.oval.test:var:244' and where only one of the values is 'a'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 35 | <var_ref operation="pattern match">oval:org.mitre.oval.test:var:244</var_ref> |
| 36 | <value entity_check="only one">a</value> |
| 37 | </variable_state> |
| 38 | </states> |
| 39 | <variables> |
| 40 | <constant_variable id="oval:org.mitre.oval.test:var:244" version="1" comment="This variable represents the string values 'a', 'b', and 'c'." datatype="string"> |
| 41 | <value>a</value> |
| 42 | <value>b</value> |
| 43 | <value>c</value> |
| 44 | </constant_variable> |
| 45 | <constant_variable id="oval:org.mitre.oval.test:var:395" version="1" comment="This variable represents the string values 'a', 'b', and 'c'." datatype="string"> |
| 46 | <value>a</value> |
| 47 | <value>b</value> |
| 48 | <value>c</value> |
| 49 | </constant_variable> |
| 50 | </variables> |
| 51 | </oval_definitions> |