-
Notifications
You must be signed in to change notification settings - Fork 450
Expand file tree
/
Copy pathtest_pcre_nonutf_characters.xml
More file actions
32 lines (29 loc) · 1.82 KB
/
Copy pathtest_pcre_nonutf_characters.xml
File metadata and controls
32 lines (29 loc) · 1.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<?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#unix unix-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:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
<generator>
<oval:schema_version>5.10</oval:schema_version>
<oval:timestamp>2009-01-12T10:41:00-05:00</oval:timestamp>
</generator>
<definitions>
<definition id="oval:org.mitre.oval.test:def:1" version="1" class="miscellaneous">
<metadata>
<title>Test for pattern match operation on file names</title>
<description>The definition should not produce any error during the evaluation</description>
</metadata>
<criteria>
<criterion comment="Test that files from the TEMP_DIR_PLACEHOLDER directory are collected." test_ref="oval:org.mitre.oval.test:tst:1"/>
</criteria>
</definition>
</definitions>
<tests>
<file_test id="oval:org.mitre.oval.test:tst:1" version="1" comment="file test" check_existence="at_least_one_exists" check="all" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
<object object_ref="oval:org.mitre.oval.test:obj:1"/>
</file_test>
</tests>
<objects>
<file_object id="oval:org.mitre.oval.test:obj:1" version="1" comment="Files in etc" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix">
<path operation="equals">TEMP_DIR_PLACEHOLDER</path>
<filename operation="pattern match">^.*$</filename>
</file_object>
</objects>
</oval_definitions>