<?xml version="1.0" encoding="UTF-8"?>
<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:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5">
<generator>
<oval:schema_version>5.10.1</oval:schema_version>
<oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
<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>
</generator>
<definitions>
<definition id="oval:org.mitre.oval.test:def:359" version="1" class="miscellaneous">
<metadata>
<title>Evaluate to true if the ind-def:environmentvariable_test is properly supported</title>
<description>This definition is intended to evalutate to true if the interpreter properly supports the ind-def:environmentvariable_test and all of its valid operations.</description>
</metadata>
<notes>
<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>
</notes>
<criteria operator="AND">
<criterion comment="Test that the ind-def:environmentvariable_test is supported with the name entity using the equals operation." test_ref="oval:org.mitre.oval.test:tst:125"/>
<criterion comment="Test that the ind-def:environmentvariable_test is supported with the name entity using the not equal operation." test_ref="oval:org.mitre.oval.test:tst:254"/>
<criterion comment="Test that the ind-def:environmentvariable_test is supported with the name entity using the pattern match operation." test_ref="oval:org.mitre.oval.test:tst:415"/>
</criteria>
</definition>
</definitions>
<tests>
<environmentvariable_test id="oval:org.mitre.oval.test:tst:125" version="1" comment="Test that the ind-def:environmentvariable_test is supported with the name entity using the equals operation." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<object object_ref="oval:org.mitre.oval.test:obj:559"/>
<state state_ref="oval:org.mitre.oval.test:ste:894"/>
</environmentvariable_test>
<environmentvariable_test id="oval:org.mitre.oval.test:tst:254" version="1" comment="Test that the ind-def:environmentvariable_test is supported with the name entity using the not equal operation." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<object object_ref="oval:org.mitre.oval.test:obj:538"/>
<state state_ref="oval:org.mitre.oval.test:ste:181"/>
</environmentvariable_test>
<environmentvariable_test id="oval:org.mitre.oval.test:tst:415" version="1" comment="Test that the ind-def:environmentvariable_test is supported with the name entity using the pattern match operation." check_existence="at_least_one_exists" check="at least one" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<object object_ref="oval:org.mitre.oval.test:obj:894"/>
<state state_ref="oval:org.mitre.oval.test:ste:181"/>
</environmentvariable_test>
</tests>
<objects>
<environmentvariable_object id="oval:org.mitre.oval.test:obj:559" version="1" comment="This environmentvariable_object represents the environment variable with a name equal to 'PATH'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<name>PATH</name>
</environmentvariable_object>
<environmentvariable_object id="oval:org.mitre.oval.test:obj:538" version="1" comment="This environmentvariable_object represents the environment variable(s) with a name not equal to 'PATH'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<name operation="not equal">PATH</name>
</environmentvariable_object>
<environmentvariable_object id="oval:org.mitre.oval.test:obj:894" version="1" comment="This environmentvariable_object represents the environment variables that match the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<name operation="pattern match">.*</name>
</environmentvariable_object>
</objects>
<states>
<environmentvariable_state id="oval:org.mitre.oval.test:ste:894" version="1" comment="This environmentvariable_state represents an environment variable with a name equal to 'PATH' and a value that matches the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<name>PATH</name>
<value operation="pattern match">.*</value>
</environmentvariable_state>
<environmentvariable_state id="oval:org.mitre.oval.test:ste:181" version="1" comment="This environmentvariable_state represents an environment variable with a name that matches the regular expression '.*' and a value that matches the regular expression '.*'." xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
<name operation="pattern match">.*</name>
<value operation="pattern match">.*</value>
</environmentvariable_state>
</states>
</oval_definitions>