Debian Codegraph @

tests/probes/textfilecontent54/test_behavior_multiline.xml.tpl

raw
1 <?xml version="1.0"?>
2 <oval_definitions xmlns:oval-def="http://oval.mitre.org/XMLSchema/oval-definitions-5" xmlns:oval="http://oval.mitre.org/XMLSchema/oval-common-5" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:ind-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent" xmlns:unix-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix" xmlns:lin-def="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5" xsi:schemaLocation="http://oval.mitre.org/XMLSchema/oval-definitions-5#unix unix-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#independent independent-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5#linux linux-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-definitions-5 oval-definitions-schema.xsd http://oval.mitre.org/XMLSchema/oval-common-5 oval-common-schema.xsd">
3 <generator>
4 <oval:schema_version>5.10.1</oval:schema_version>
5 <oval:timestamp>0001-01-01T00:00:00+00:00</oval:timestamp>
6 </generator>
7
8 <definitions>
9 <definition class="compliance" version="1" id="oval:x:def:1">
10 <metadata>
11 <title>x</title>
12 <description>x</description>
13 <affected family="unix">
14 <platform>x</platform>
15 </affected>
16 </metadata>
17 <criteria comment="x">
18 <criterion test_ref="oval:filename:tst:1"/>
19 <criterion test_ref="oval:filename:tst:2"/>
20 <criterion test_ref="oval:filename:tst:3"/>
21 <criterion test_ref="oval:filename:tst:4"/>
22 <criterion test_ref="oval:filename:tst:5"/>
23 <criterion test_ref="oval:filepath:tst:1"/>
24 <criterion test_ref="oval:filepath:tst:2"/>
25 <criterion test_ref="oval:filepath:tst:3"/>
26 <criterion test_ref="oval:filepath:tst:4"/>
27 <criterion test_ref="oval:filepath:tst:5"/>
28 </criteria>
29 </definition>
30 </definitions>
31
32 <tests>
33 <textfilecontent54_test id="oval:filename:tst:1" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
34 <object object_ref="oval:filename:obj:1"/>
35 </textfilecontent54_test>
36 <textfilecontent54_test id="oval:filename:tst:2" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
37 <object object_ref="oval:filename:obj:2"/>
38 </textfilecontent54_test>
39 <textfilecontent54_test id="oval:filename:tst:3" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
40 <object object_ref="oval:filename:obj:3"/>
41 </textfilecontent54_test>
42 <textfilecontent54_test id="oval:filename:tst:4" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
43 <object object_ref="oval:filename:obj:4"/>
44 </textfilecontent54_test>
45 <textfilecontent54_test id="oval:filename:tst:5" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
46 <object object_ref="oval:filename:obj:5"/>
47 </textfilecontent54_test>
48 <textfilecontent54_test id="oval:filepath:tst:1" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
49 <object object_ref="oval:filepath:obj:1"/>
50 </textfilecontent54_test>
51 <textfilecontent54_test id="oval:filepath:tst:2" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
52 <object object_ref="oval:filepath:obj:2"/>
53 </textfilecontent54_test>
54 <textfilecontent54_test id="oval:filepath:tst:3" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
55 <object object_ref="oval:filepath:obj:3"/>
56 </textfilecontent54_test>
57 <textfilecontent54_test id="oval:filepath:tst:4" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
58 <object object_ref="oval:filepath:obj:4"/>
59 </textfilecontent54_test>
60 <textfilecontent54_test id="oval:filepath:tst:5" check="all" comment="x" version="1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
61 <object object_ref="oval:filepath:obj:5"/>
62 </textfilecontent54_test>
63 </tests>
64
65 <objects>
66 <textfilecontent54_object id="oval:filename:obj:1" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
67 <path datatype="string" operation="equals">%PATH%</path>
68 <filename datatype="string" operation="equals">textfile</filename>
69 <pattern datatype="string" operation="pattern match">^line2$</pattern>
70 <instance datatype="int" operation="greater than or equal">1</instance>
71 </textfilecontent54_object>
72 <textfilecontent54_object id="oval:filename:obj:2" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
73 <behaviors />
74 <path datatype="string" operation="equals">%PATH%</path>
75 <filename datatype="string" operation="equals">textfile</filename>
76 <pattern datatype="string" operation="pattern match">^line2$</pattern>
77 <instance datatype="int" operation="greater than or equal">1</instance>
78 </textfilecontent54_object>
79 <textfilecontent54_object id="oval:filename:obj:3" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
80 <behaviors multiline="true"/>
81 <path datatype="string" operation="equals">%PATH%</path>
82 <filename datatype="string" operation="equals">textfile</filename>
83 <pattern datatype="string" operation="pattern match">^line2$</pattern>
84 <instance datatype="int" operation="greater than or equal">1</instance>
85 </textfilecontent54_object>
86 <textfilecontent54_object id="oval:filename:obj:4" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
87 <behaviors multiline="false"/>
88 <path datatype="string" operation="equals">%PATH%</path>
89 <filename datatype="string" operation="equals">textfile</filename>
90 <pattern datatype="string" operation="pattern match">^line2$</pattern>
91 <instance datatype="int" operation="greater than or equal">1</instance>
92 </textfilecontent54_object>
93 <textfilecontent54_object id="oval:filename:obj:5" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
94 <behaviors ignore_case="false"/>
95 <path datatype="string" operation="equals">%PATH%</path>
96 <filename datatype="string" operation="equals">textfile</filename>
97 <pattern datatype="string" operation="pattern match">^line2$</pattern>
98 <instance datatype="int" operation="greater than or equal">1</instance>
99 </textfilecontent54_object>
100 <textfilecontent54_object id="oval:filepath:obj:1" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
101 <filepath datatype="string" operation="equals">%PATH%/textfile</filepath>
102 <pattern datatype="string" operation="pattern match">^line2$</pattern>
103 <instance datatype="int" operation="greater than or equal">1</instance>
104 </textfilecontent54_object>
105 <textfilecontent54_object id="oval:filepath:obj:2" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
106 <behaviors />
107 <filepath datatype="string" operation="equals">%PATH%/textfile</filepath>
108 <pattern datatype="string" operation="pattern match">^line2$</pattern>
109 <instance datatype="int" operation="greater than or equal">1</instance>
110 </textfilecontent54_object>
111 <textfilecontent54_object id="oval:filepath:obj:3" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
112 <behaviors multiline="true"/>
113 <filepath datatype="string" operation="equals">%PATH%/textfile</filepath>
114 <pattern datatype="string" operation="pattern match">^line2$</pattern>
115 <instance datatype="int" operation="greater than or equal">1</instance>
116 </textfilecontent54_object>
117 <textfilecontent54_object id="oval:filepath:obj:4" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
118 <behaviors multiline="false"/>
119 <filepath datatype="string" operation="equals">%PATH%/textfile</filepath>
120 <pattern datatype="string" operation="pattern match">^line2$</pattern>
121 <instance datatype="int" operation="greater than or equal">1</instance>
122 </textfilecontent54_object>
123 <textfilecontent54_object id="oval:filepath:obj:5" version="1" comment="x" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent">
124 <behaviors ignore_case="false"/>
125 <filepath datatype="string" operation="equals">%PATH%/textfile</filepath>
126 <pattern datatype="string" operation="pattern match">^line2$</pattern>
127 <instance datatype="int" operation="greater than or equal">1</instance>
128 </textfilecontent54_object>
129 </objects>
130 </oval_definitions>