| 1 | #!/usr/bin/env bash |
| 2 | |
| 3 | echo "Test Probes: FILEHASH test" > /tmp/test_probes_filehash.tmp |
| 4 | |
| 5 | cat <<EOF |
| 6 | <?xml version="1.0"?> |
| 7 | <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"> |
| 8 | |
| 9 | <generator> |
| 10 | <oval:product_name>filehash</oval:product_name> |
| 11 | <oval:product_version>1.0</oval:product_version> |
| 12 | <oval:schema_version>5.4</oval:schema_version> |
| 13 | <oval:timestamp>2008-03-31T00:00:00-00:00</oval:timestamp> |
| 14 | </generator> |
| 15 | |
| 16 | <definitions> |
| 17 | |
| 18 | <definition class="compliance" version="1" id="oval:1:def:1"> <!-- comment="false" --> |
| 19 | <metadata> |
| 20 | <title></title> |
| 21 | <description></description> |
| 22 | </metadata> |
| 23 | <criteria> |
| 24 | <criteria operator="AND"> |
| 25 | <criterion test_ref="oval:1:tst:1"/> |
| 26 | <criterion test_ref="oval:1:tst:2"/> |
| 27 | <criterion test_ref="oval:1:tst:3"/> |
| 28 | <criterion test_ref="oval:1:tst:4"/> |
| 29 | <criterion test_ref="oval:1:tst:5"/> |
| 30 | <criterion test_ref="oval:1:tst:6"/> |
| 31 | <criterion test_ref="oval:1:tst:7"/> |
| 32 | <criterion test_ref="oval:1:tst:8"/> |
| 33 | <criterion test_ref="oval:1:tst:9"/> |
| 34 | <criterion test_ref="oval:1:tst:10"/> |
| 35 | <criterion test_ref="oval:1:tst:11"/> |
| 36 | <criterion test_ref="oval:1:tst:12"/> |
| 37 | <criterion test_ref="oval:1:tst:13"/> |
| 38 | <criterion test_ref="oval:1:tst:14"/> |
| 39 | <criterion test_ref="oval:1:tst:15"/> |
| 40 | <criterion test_ref="oval:1:tst:16"/> |
| 41 | <criterion test_ref="oval:1:tst:17"/> |
| 42 | <criterion test_ref="oval:1:tst:18"/> |
| 43 | <criterion test_ref="oval:1:tst:19"/> |
| 44 | <criterion test_ref="oval:1:tst:20"/> |
| 45 | <criterion test_ref="oval:1:tst:21"/> |
| 46 | <criterion test_ref="oval:1:tst:22"/> |
| 47 | <criterion test_ref="oval:1:tst:23"/> |
| 48 | <criterion test_ref="oval:1:tst:24"/> |
| 49 | <criterion test_ref="oval:1:tst:25"/> |
| 50 | <criterion test_ref="oval:1:tst:26"/> |
| 51 | <criterion test_ref="oval:1:tst:27"/> |
| 52 | <criterion test_ref="oval:1:tst:28"/> |
| 53 | <criterion test_ref="oval:1:tst:29"/> |
| 54 | <criterion test_ref="oval:1:tst:30"/> |
| 55 | <criterion test_ref="oval:1:tst:31"/> |
| 56 | <criterion test_ref="oval:1:tst:32"/> |
| 57 | <criterion test_ref="oval:1:tst:33"/> |
| 58 | <criterion test_ref="oval:1:tst:34"/> |
| 59 | <criterion test_ref="oval:1:tst:35"/> |
| 60 | <criterion test_ref="oval:1:tst:36"/> |
| 61 | <criterion test_ref="oval:1:tst:37"/> |
| 62 | <criterion test_ref="oval:1:tst:38"/> |
| 63 | <criterion test_ref="oval:1:tst:39"/> |
| 64 | <criterion test_ref="oval:1:tst:40"/> |
| 65 | <criterion test_ref="oval:1:tst:41"/> |
| 66 | <criterion test_ref="oval:1:tst:42"/> |
| 67 | <criterion test_ref="oval:1:tst:43"/> |
| 68 | <criterion test_ref="oval:1:tst:44"/> |
| 69 | <criterion test_ref="oval:1:tst:45"/> |
| 70 | <criterion test_ref="oval:1:tst:46"/> |
| 71 | <criterion test_ref="oval:1:tst:47"/> |
| 72 | <criterion test_ref="oval:1:tst:48"/> |
| 73 | <criterion test_ref="oval:1:tst:49"/> |
| 74 | <criterion test_ref="oval:1:tst:50"/> |
| 75 | <criterion test_ref="oval:1:tst:51"/> |
| 76 | <criterion test_ref="oval:1:tst:52"/> |
| 77 | <criterion test_ref="oval:1:tst:53"/> |
| 78 | <criterion test_ref="oval:1:tst:54"/> |
| 79 | <criterion test_ref="oval:1:tst:55"/> |
| 80 | <criterion test_ref="oval:1:tst:56"/> |
| 81 | <criterion test_ref="oval:1:tst:57"/> |
| 82 | <criterion test_ref="oval:1:tst:58"/> |
| 83 | <criterion test_ref="oval:1:tst:59"/> |
| 84 | <criterion test_ref="oval:1:tst:60"/> |
| 85 | <criterion test_ref="oval:1:tst:61"/> |
| 86 | <criterion test_ref="oval:1:tst:62"/> |
| 87 | <criterion test_ref="oval:1:tst:63"/> |
| 88 | <criterion test_ref="oval:1:tst:64"/> |
| 89 | <criterion test_ref="oval:1:tst:65"/> |
| 90 | <criterion test_ref="oval:1:tst:66"/> |
| 91 | <criterion test_ref="oval:1:tst:67"/> |
| 92 | <criterion test_ref="oval:1:tst:68"/> |
| 93 | <criterion test_ref="oval:1:tst:69"/> |
| 94 | <criterion test_ref="oval:1:tst:70"/> |
| 95 | <criterion test_ref="oval:1:tst:71"/> |
| 96 | <criterion test_ref="oval:1:tst:72"/> |
| 97 | <criterion test_ref="oval:1:tst:73"/> |
| 98 | <criterion test_ref="oval:1:tst:74"/> |
| 99 | <criterion test_ref="oval:1:tst:75"/> |
| 100 | <criterion test_ref="oval:1:tst:76"/> |
| 101 | <criterion test_ref="oval:1:tst:77"/> |
| 102 | <criterion test_ref="oval:1:tst:78"/> |
| 103 | <criterion test_ref="oval:1:tst:79"/> |
| 104 | <criterion test_ref="oval:1:tst:80"/> |
| 105 | <criterion test_ref="oval:1:tst:81"/> |
| 106 | <criterion test_ref="oval:1:tst:82"/> |
| 107 | <criterion test_ref="oval:1:tst:83"/> |
| 108 | <criterion test_ref="oval:1:tst:84"/> |
| 109 | <criterion test_ref="oval:1:tst:85"/> |
| 110 | <criterion test_ref="oval:1:tst:86"/> |
| 111 | <criterion test_ref="oval:1:tst:87"/> |
| 112 | <criterion test_ref="oval:1:tst:88"/> |
| 113 | <criterion test_ref="oval:1:tst:89"/> |
| 114 | <criterion test_ref="oval:1:tst:90"/> |
| 115 | <criterion test_ref="oval:1:tst:91"/> |
| 116 | <criterion test_ref="oval:1:tst:92"/> |
| 117 | <criterion test_ref="oval:1:tst:93"/> |
| 118 | <criterion test_ref="oval:1:tst:94"/> |
| 119 | <criterion test_ref="oval:1:tst:95"/> |
| 120 | <criterion test_ref="oval:1:tst:96"/> |
| 121 | <criterion test_ref="oval:1:tst:97"/> |
| 122 | <criterion test_ref="oval:1:tst:98"/> |
| 123 | <criterion test_ref="oval:1:tst:99"/> |
| 124 | <criterion test_ref="oval:1:tst:100"/> |
| 125 | <criterion test_ref="oval:1:tst:101"/> |
| 126 | <criterion test_ref="oval:1:tst:102"/> |
| 127 | <criterion test_ref="oval:1:tst:103"/> |
| 128 | <criterion test_ref="oval:1:tst:104"/> |
| 129 | <criterion test_ref="oval:1:tst:105"/> |
| 130 | <criterion test_ref="oval:1:tst:106"/> |
| 131 | <criterion test_ref="oval:1:tst:107"/> |
| 132 | <criterion test_ref="oval:1:tst:108"/> |
| 133 | <criterion test_ref="oval:1:tst:109"/> |
| 134 | <criterion test_ref="oval:1:tst:110"/> |
| 135 | <criterion test_ref="oval:1:tst:111"/> |
| 136 | <criterion test_ref="oval:1:tst:112"/> |
| 137 | <criterion test_ref="oval:1:tst:113"/> |
| 138 | <criterion test_ref="oval:1:tst:114"/> |
| 139 | <criterion test_ref="oval:1:tst:115"/> |
| 140 | <criterion test_ref="oval:1:tst:116"/> |
| 141 | <criterion test_ref="oval:1:tst:117"/> |
| 142 | <criterion test_ref="oval:1:tst:118"/> |
| 143 | <criterion test_ref="oval:1:tst:119"/> |
| 144 | <criterion test_ref="oval:1:tst:120"/> |
| 145 | </criteria> |
| 146 | </criteria> |
| 147 | </definition> |
| 148 | |
| 149 | <definition class="compliance" version="1" id="oval:1:def:2"> <!-- comment="false" --> |
| 150 | <metadata> |
| 151 | <title></title> |
| 152 | <description></description> |
| 153 | </metadata> |
| 154 | <criteria> |
| 155 | <criteria operator="AND"> |
| 156 | <criterion test_ref="oval:1:tst:1"/> |
| 157 | <criterion test_ref="oval:1:tst:5"/> |
| 158 | </criteria> |
| 159 | </criteria> |
| 160 | </definition> |
| 161 | |
| 162 | <definition class="compliance" version="1" id="oval:1:def:3"> <!-- comment="true" --> |
| 163 | <metadata> |
| 164 | <title></title> |
| 165 | <description></description> |
| 166 | </metadata> |
| 167 | <criteria> |
| 168 | <criteria operator="AND"> |
| 169 | <criterion test_ref="oval:1:tst:1"/> |
| 170 | <criterion test_ref="oval:1:tst:1"/> |
| 171 | </criteria> |
| 172 | </criteria> |
| 173 | </definition> |
| 174 | |
| 175 | <definition class="compliance" version="1" id="oval:1:def:4"> <!-- comment="false" --> |
| 176 | <metadata> |
| 177 | <title></title> |
| 178 | <description></description> |
| 179 | </metadata> |
| 180 | <criteria> |
| 181 | <criteria operator="AND"> |
| 182 | <criterion test_ref="oval:1:tst:5"/> |
| 183 | <criterion test_ref="oval:1:tst:5"/> |
| 184 | </criteria> |
| 185 | </criteria> |
| 186 | </definition> |
| 187 | |
| 188 | <definition class="compliance" version="1" id="oval:1:def:5"> <!-- comment="true" --> |
| 189 | <metadata> |
| 190 | <title></title> |
| 191 | <description></description> |
| 192 | </metadata> |
| 193 | <criteria> |
| 194 | <criteria operator="OR"> |
| 195 | <criterion test_ref="oval:1:tst:1"/> |
| 196 | <criterion test_ref="oval:1:tst:5"/> |
| 197 | </criteria> |
| 198 | </criteria> |
| 199 | </definition> |
| 200 | |
| 201 | <definition class="compliance" version="1" id="oval:1:def:6"> <!-- comment="true" --> |
| 202 | <metadata> |
| 203 | <title></title> |
| 204 | <description></description> |
| 205 | </metadata> |
| 206 | <criteria> |
| 207 | <criteria operator="OR"> |
| 208 | <criterion test_ref="oval:1:tst:1"/> |
| 209 | <criterion test_ref="oval:1:tst:1"/> |
| 210 | </criteria> |
| 211 | </criteria> |
| 212 | </definition> |
| 213 | |
| 214 | <definition class="compliance" version="1" id="oval:1:def:7"> <!-- comment="false" --> |
| 215 | <metadata> |
| 216 | <title></title> |
| 217 | <description></description> |
| 218 | </metadata> |
| 219 | <criteria> |
| 220 | <criteria operator="OR"> |
| 221 | <criterion test_ref="oval:1:tst:5"/> |
| 222 | <criterion test_ref="oval:1:tst:5"/> |
| 223 | </criteria> |
| 224 | </criteria> |
| 225 | </definition> |
| 226 | |
| 227 | <definition class="compliance" version="1" id="oval:1:def:8"> <!-- comment="true" --> |
| 228 | <metadata> |
| 229 | <title></title> |
| 230 | <description></description> |
| 231 | </metadata> |
| 232 | <criteria> |
| 233 | <criteria operator="XOR"> |
| 234 | <criterion test_ref="oval:1:tst:1"/> |
| 235 | <criterion test_ref="oval:1:tst:5"/> |
| 236 | </criteria> |
| 237 | </criteria> |
| 238 | </definition> |
| 239 | |
| 240 | <definition class="compliance" version="1" id="oval:1:def:9"> <!-- comment="false" --> |
| 241 | <metadata> |
| 242 | <title></title> |
| 243 | <description></description> |
| 244 | </metadata> |
| 245 | <criteria> |
| 246 | <criteria operator="XOR"> |
| 247 | <criterion test_ref="oval:1:tst:1"/> |
| 248 | <criterion test_ref="oval:1:tst:1"/> |
| 249 | </criteria> |
| 250 | </criteria> |
| 251 | </definition> |
| 252 | |
| 253 | <definition class="compliance" version="1" id="oval:1:def:10"> <!-- comment="false" --> |
| 254 | <metadata> |
| 255 | <title></title> |
| 256 | <description></description> |
| 257 | </metadata> |
| 258 | <criteria> |
| 259 | <criteria operator="XOR"> |
| 260 | <criterion test_ref="oval:1:tst:5"/> |
| 261 | <criterion test_ref="oval:1:tst:5"/> |
| 262 | </criteria> |
| 263 | </criteria> |
| 264 | </definition> |
| 265 | |
| 266 | <definition class="compliance" version="1" id="oval:1:def:11"> <!-- comment="true" --> |
| 267 | <metadata> |
| 268 | <title></title> |
| 269 | <description></description> |
| 270 | </metadata> |
| 271 | <criteria> |
| 272 | <criteria operator="ONE"> |
| 273 | <criterion test_ref="oval:1:tst:1"/> |
| 274 | <criterion test_ref="oval:1:tst:5"/> |
| 275 | </criteria> |
| 276 | </criteria> |
| 277 | </definition> |
| 278 | |
| 279 | <definition class="compliance" version="1" id="oval:1:def:12"> <!-- comment="false" --> |
| 280 | <metadata> |
| 281 | <title></title> |
| 282 | <description></description> |
| 283 | </metadata> |
| 284 | <criteria> |
| 285 | <criteria operator="ONE"> |
| 286 | <criterion test_ref="oval:1:tst:1"/> |
| 287 | <criterion test_ref="oval:1:tst:1"/> |
| 288 | </criteria> |
| 289 | </criteria> |
| 290 | </definition> |
| 291 | |
| 292 | <definition class="compliance" version="1" id="oval:1:def:13"> <!-- comment="false" --> |
| 293 | <metadata> |
| 294 | <title></title> |
| 295 | <description></description> |
| 296 | </metadata> |
| 297 | <criteria> |
| 298 | <criteria operator="ONE"> |
| 299 | <criterion test_ref="oval:1:tst:5"/> |
| 300 | <criterion test_ref="oval:1:tst:5"/> |
| 301 | </criteria> |
| 302 | </criteria> |
| 303 | </definition> |
| 304 | |
| 305 | </definitions> |
| 306 | |
| 307 | <tests> |
| 308 | |
| 309 | <!-- DEFAULT STATELESS OBJECT --> |
| 310 | |
| 311 | <!-- check="all" --> |
| 312 | |
| 313 | <filehash_test version="1" id="oval:1:tst:1" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 314 | <object object_ref="oval:1:obj:1"/> |
| 315 | </filehash_test> |
| 316 | |
| 317 | <!-- check="at least one" --> |
| 318 | |
| 319 | <filehash_test version="1" id="oval:1:tst:2" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 320 | <object object_ref="oval:1:obj:1"/> |
| 321 | </filehash_test> |
| 322 | |
| 323 | <!-- check="none satisfy" --> |
| 324 | |
| 325 | <filehash_test version="1" id="oval:1:tst:3" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 326 | <object object_ref="oval:1:obj:1"/> |
| 327 | </filehash_test> |
| 328 | |
| 329 | <!-- check="only one" --> |
| 330 | |
| 331 | <filehash_test version="1" id="oval:1:tst:4" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 332 | <object object_ref="oval:1:obj:1"/> |
| 333 | </filehash_test> |
| 334 | |
| 335 | <!-- check="all" --> |
| 336 | |
| 337 | <filehash_test version="1" id="oval:1:tst:5" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 338 | <object object_ref="oval:1:obj:2"/> |
| 339 | </filehash_test> |
| 340 | |
| 341 | <!-- check="at least one" --> |
| 342 | |
| 343 | <filehash_test version="1" id="oval:1:tst:6" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 344 | <object object_ref="oval:1:obj:2"/> |
| 345 | </filehash_test> |
| 346 | |
| 347 | <!-- check="none satisfy" --> |
| 348 | |
| 349 | <filehash_test version="1" id="oval:1:tst:7" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 350 | <object object_ref="oval:1:obj:2"/> |
| 351 | </filehash_test> |
| 352 | |
| 353 | <!-- check="only one" --> |
| 354 | |
| 355 | <filehash_test version="1" id="oval:1:tst:8" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 356 | <object object_ref="oval:1:obj:2"/> |
| 357 | </filehash_test> |
| 358 | |
| 359 | <!-- STATELESS OBJECT --> |
| 360 | |
| 361 | <!-- check_existence="all_exist" check="all" --> |
| 362 | |
| 363 | <filehash_test version="1" id="oval:1:tst:9" check_existence="all_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 364 | <object object_ref="oval:1:obj:1"/> |
| 365 | </filehash_test> |
| 366 | |
| 367 | <!-- check_existence="all_exist" check="at least one" --> |
| 368 | |
| 369 | <filehash_test version="1" id="oval:1:tst:10" check_existence="all_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 370 | <object object_ref="oval:1:obj:1"/> |
| 371 | </filehash_test> |
| 372 | |
| 373 | <!-- check_existence="all_exist" check="none satisfy" --> |
| 374 | |
| 375 | <filehash_test version="1" id="oval:1:tst:11" check_existence="all_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 376 | <object object_ref="oval:1:obj:1"/> |
| 377 | </filehash_test> |
| 378 | |
| 379 | <!-- check_existence="all_exist" check="only one" --> |
| 380 | |
| 381 | <filehash_test version="1" id="oval:1:tst:12" check_existence="all_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 382 | <object object_ref="oval:1:obj:1"/> |
| 383 | </filehash_test> |
| 384 | |
| 385 | <!-- check_existence="at_least_one_exists" check="all" --> |
| 386 | |
| 387 | <filehash_test version="1" id="oval:1:tst:13" check_existence="at_least_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 388 | <object object_ref="oval:1:obj:1"/> |
| 389 | </filehash_test> |
| 390 | |
| 391 | <!-- check_existence="at_least_one_exists" check="at least one" --> |
| 392 | |
| 393 | <filehash_test version="1" id="oval:1:tst:14" check_existence="at_least_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 394 | <object object_ref="oval:1:obj:1"/> |
| 395 | </filehash_test> |
| 396 | |
| 397 | <!-- check_existence="at_least_one_exists" check="none satisfy" --> |
| 398 | |
| 399 | <filehash_test version="1" id="oval:1:tst:15" check_existence="at_least_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 400 | <object object_ref="oval:1:obj:1"/> |
| 401 | </filehash_test> |
| 402 | |
| 403 | <!-- check_existence="at_least_one_exists" check="only one" --> |
| 404 | |
| 405 | <filehash_test version="1" id="oval:1:tst:16" check_existence="at_least_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 406 | <object object_ref="oval:1:obj:1"/> |
| 407 | </filehash_test> |
| 408 | |
| 409 | <!-- check_existence="any_exist" check="all" --> |
| 410 | |
| 411 | <filehash_test version="1" id="oval:1:tst:17" check_existence="any_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 412 | <object object_ref="oval:1:obj:1"/> |
| 413 | </filehash_test> |
| 414 | |
| 415 | <!-- check_existence="any_exist" check="at least one" --> |
| 416 | |
| 417 | <filehash_test version="1" id="oval:1:tst:18" check_existence="any_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 418 | <object object_ref="oval:1:obj:1"/> |
| 419 | </filehash_test> |
| 420 | |
| 421 | <!-- check_existence="any_exist" check="none satisfy" --> |
| 422 | |
| 423 | <filehash_test version="1" id="oval:1:tst:19" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 424 | <object object_ref="oval:1:obj:1"/> |
| 425 | </filehash_test> |
| 426 | |
| 427 | <!-- check_existence="any_exist" check="only one" --> |
| 428 | |
| 429 | <filehash_test version="1" id="oval:1:tst:20" check_existence="any_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 430 | <object object_ref="oval:1:obj:1"/> |
| 431 | </filehash_test> |
| 432 | |
| 433 | <!-- check_existence="none_exist" check="all" --> |
| 434 | |
| 435 | <filehash_test version="1" id="oval:1:tst:21" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 436 | <object object_ref="oval:1:obj:1"/> |
| 437 | </filehash_test> |
| 438 | |
| 439 | <!-- check_existence="none_exist" check="at least one" --> |
| 440 | |
| 441 | <filehash_test version="1" id="oval:1:tst:22" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 442 | <object object_ref="oval:1:obj:1"/> |
| 443 | </filehash_test> |
| 444 | |
| 445 | <!-- check_existence="none_exist" check="none satisfy" --> |
| 446 | |
| 447 | <filehash_test version="1" id="oval:1:tst:23" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 448 | <object object_ref="oval:1:obj:1"/> |
| 449 | </filehash_test> |
| 450 | |
| 451 | <!-- check_existence="none_exist" check="only one" --> |
| 452 | |
| 453 | <filehash_test version="1" id="oval:1:tst:24" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 454 | <object object_ref="oval:1:obj:1"/> |
| 455 | </filehash_test> |
| 456 | |
| 457 | <!-- check_existence="only_one_exists" check="all" --> |
| 458 | |
| 459 | <filehash_test version="1" id="oval:1:tst:25" check_existence="only_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 460 | <object object_ref="oval:1:obj:1"/> |
| 461 | </filehash_test> |
| 462 | |
| 463 | <!-- check_existence="only_one_exists" check="at least one" --> |
| 464 | |
| 465 | <filehash_test version="1" id="oval:1:tst:26" check_existence="only_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 466 | <object object_ref="oval:1:obj:1"/> |
| 467 | </filehash_test> |
| 468 | |
| 469 | <!-- check_existence="only_one_exists" check="none satisfy" --> |
| 470 | |
| 471 | <filehash_test version="1" id="oval:1:tst:27" check_existence="only_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 472 | <object object_ref="oval:1:obj:1"/> |
| 473 | </filehash_test> |
| 474 | |
| 475 | <!-- check_existence="only_one_exists" check="only one" --> |
| 476 | |
| 477 | <filehash_test version="1" id="oval:1:tst:28" check_existence="only_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 478 | <object object_ref="oval:1:obj:1"/> |
| 479 | </filehash_test> |
| 480 | |
| 481 | <!-- check_existence="all_exist" check="all" --> |
| 482 | |
| 483 | <filehash_test version="1" id="oval:1:tst:29" check_existence="all_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 484 | <object object_ref="oval:1:obj:2"/> |
| 485 | </filehash_test> |
| 486 | |
| 487 | <!-- check_existence="all_exist" check="at least one" --> |
| 488 | |
| 489 | <filehash_test version="1" id="oval:1:tst:30" check_existence="all_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 490 | <object object_ref="oval:1:obj:2"/> |
| 491 | </filehash_test> |
| 492 | |
| 493 | <!-- check_existence="all_exist" check="none satisfy" --> |
| 494 | |
| 495 | <filehash_test version="1" id="oval:1:tst:31" check_existence="all_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 496 | <object object_ref="oval:1:obj:2"/> |
| 497 | </filehash_test> |
| 498 | |
| 499 | <!-- check_existence="all_exist" check="only one" --> |
| 500 | |
| 501 | <filehash_test version="1" id="oval:1:tst:32" check_existence="all_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 502 | <object object_ref="oval:1:obj:2"/> |
| 503 | </filehash_test> |
| 504 | |
| 505 | <!-- check_existence="at_least_one_exists" check="all" --> |
| 506 | |
| 507 | <filehash_test version="1" id="oval:1:tst:33" check_existence="at_least_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 508 | <object object_ref="oval:1:obj:2"/> |
| 509 | </filehash_test> |
| 510 | |
| 511 | <!-- check_existence="at_least_one_exists" check="at least one" --> |
| 512 | |
| 513 | <filehash_test version="1" id="oval:1:tst:34" check_existence="at_least_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 514 | <object object_ref="oval:1:obj:2"/> |
| 515 | </filehash_test> |
| 516 | |
| 517 | <!-- check_existence="at_least_one_exists" check="none satisfy" --> |
| 518 | |
| 519 | <filehash_test version="1" id="oval:1:tst:35" check_existence="at_least_one_exists" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 520 | <object object_ref="oval:1:obj:2"/> |
| 521 | </filehash_test> |
| 522 | |
| 523 | <!-- check_existence="at_least_one_exists" check="only one" --> |
| 524 | |
| 525 | <filehash_test version="1" id="oval:1:tst:36" check_existence="at_least_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 526 | <object object_ref="oval:1:obj:2"/> |
| 527 | </filehash_test> |
| 528 | |
| 529 | <!-- check_existence="any_exist" check="all" --> |
| 530 | |
| 531 | <filehash_test version="1" id="oval:1:tst:37" check_existence="any_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 532 | <object object_ref="oval:1:obj:2"/> |
| 533 | </filehash_test> |
| 534 | |
| 535 | <!-- check_existence="any_exist" check="at least one" --> |
| 536 | |
| 537 | <filehash_test version="1" id="oval:1:tst:38" check_existence="any_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 538 | <object object_ref="oval:1:obj:2"/> |
| 539 | </filehash_test> |
| 540 | |
| 541 | <!-- check_existence="any_exist" check="none satisfy" --> |
| 542 | |
| 543 | <filehash_test version="1" id="oval:1:tst:39" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 544 | <object object_ref="oval:1:obj:2"/> |
| 545 | </filehash_test> |
| 546 | |
| 547 | <!-- check_existence="any_exist" check="only one" --> |
| 548 | |
| 549 | <filehash_test version="1" id="oval:1:tst:40" check_existence="any_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 550 | <object object_ref="oval:1:obj:2"/> |
| 551 | </filehash_test> |
| 552 | |
| 553 | <!-- check_existence="none_exist" check="all" --> |
| 554 | |
| 555 | <filehash_test version="1" id="oval:1:tst:41" check_existence="none_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 556 | <object object_ref="oval:1:obj:2"/> |
| 557 | </filehash_test> |
| 558 | |
| 559 | <!-- check_existence="none_exist" check="at least one" --> |
| 560 | |
| 561 | <filehash_test version="1" id="oval:1:tst:42" check_existence="none_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 562 | <object object_ref="oval:1:obj:2"/> |
| 563 | </filehash_test> |
| 564 | |
| 565 | <!-- check_existence="none_exist" check="none satisfy" --> |
| 566 | |
| 567 | <filehash_test version="1" id="oval:1:tst:43" check_existence="none_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 568 | <object object_ref="oval:1:obj:2"/> |
| 569 | </filehash_test> |
| 570 | |
| 571 | <!-- check_existence="none_exist" check="only one" --> |
| 572 | |
| 573 | <filehash_test version="1" id="oval:1:tst:44" check_existence="none_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 574 | <object object_ref="oval:1:obj:2"/> |
| 575 | </filehash_test> |
| 576 | |
| 577 | <!-- check_existence="only_one_exists" check="all" --> |
| 578 | |
| 579 | <filehash_test version="1" id="oval:1:tst:45" check_existence="only_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 580 | <object object_ref="oval:1:obj:2"/> |
| 581 | </filehash_test> |
| 582 | |
| 583 | <!-- check_existence="only_one_exists" check="at least one" --> |
| 584 | |
| 585 | <filehash_test version="1" id="oval:1:tst:46" check_existence="only_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 586 | <object object_ref="oval:1:obj:2"/> |
| 587 | </filehash_test> |
| 588 | |
| 589 | <!-- check_existence="only_one_exists" check="none satisfy" --> |
| 590 | |
| 591 | <filehash_test version="1" id="oval:1:tst:47" check_existence="only_one_exists" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 592 | <object object_ref="oval:1:obj:2"/> |
| 593 | </filehash_test> |
| 594 | |
| 595 | <!-- check_existence="only_one_exists" check="only one" --> |
| 596 | |
| 597 | <filehash_test version="1" id="oval:1:tst:48" check_existence="only_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 598 | <object object_ref="oval:1:obj:2"/> |
| 599 | </filehash_test> |
| 600 | |
| 601 | <!-- DEFAULT OBJECT WITH STATE --> |
| 602 | |
| 603 | <!-- check="all" --> |
| 604 | |
| 605 | <filehash_test version="1" id="oval:1:tst:49" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 606 | <object object_ref="oval:1:obj:1"/> |
| 607 | <state state_ref="oval:1:ste:1"/> |
| 608 | </filehash_test> |
| 609 | |
| 610 | <filehash_test version="1" id="oval:1:tst:50" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 611 | <object object_ref="oval:1:obj:1"/> |
| 612 | <state state_ref="oval:1:ste:2"/> |
| 613 | </filehash_test> |
| 614 | |
| 615 | <filehash_test version="1" id="oval:1:tst:51" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 616 | <object object_ref="oval:1:obj:1"/> |
| 617 | <state state_ref="oval:1:ste:3"/> |
| 618 | </filehash_test> |
| 619 | |
| 620 | <!-- check="at least one" --> |
| 621 | |
| 622 | <filehash_test version="1" id="oval:1:tst:52" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 623 | <object object_ref="oval:1:obj:1"/> |
| 624 | <state state_ref="oval:1:ste:1"/> |
| 625 | </filehash_test> |
| 626 | |
| 627 | <filehash_test version="1" id="oval:1:tst:53" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 628 | <object object_ref="oval:1:obj:1"/> |
| 629 | <state state_ref="oval:1:ste:2"/> |
| 630 | </filehash_test> |
| 631 | |
| 632 | <filehash_test version="1" id="oval:1:tst:54" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 633 | <object object_ref="oval:1:obj:1"/> |
| 634 | <state state_ref="oval:1:ste:3"/> |
| 635 | </filehash_test> |
| 636 | |
| 637 | <!-- check="none satisfy" --> |
| 638 | |
| 639 | <filehash_test version="1" id="oval:1:tst:55" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 640 | <object object_ref="oval:1:obj:1"/> |
| 641 | <state state_ref="oval:1:ste:1"/> |
| 642 | </filehash_test> |
| 643 | |
| 644 | <filehash_test version="1" id="oval:1:tst:56" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 645 | <object object_ref="oval:1:obj:1"/> |
| 646 | <state state_ref="oval:1:ste:2"/> |
| 647 | </filehash_test> |
| 648 | |
| 649 | <filehash_test version="1" id="oval:1:tst:57" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 650 | <object object_ref="oval:1:obj:1"/> |
| 651 | <state state_ref="oval:1:ste:3"/> |
| 652 | </filehash_test> |
| 653 | |
| 654 | <!-- check="only one" --> |
| 655 | |
| 656 | <filehash_test version="1" id="oval:1:tst:58" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 657 | <object object_ref="oval:1:obj:1"/> |
| 658 | <state state_ref="oval:1:ste:1"/> |
| 659 | </filehash_test> |
| 660 | |
| 661 | <filehash_test version="1" id="oval:1:tst:59" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 662 | <object object_ref="oval:1:obj:1"/> |
| 663 | <state state_ref="oval:1:ste:2"/> |
| 664 | </filehash_test> |
| 665 | |
| 666 | <filehash_test version="1" id="oval:1:tst:60" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 667 | <object object_ref="oval:1:obj:1"/> |
| 668 | <state state_ref="oval:1:ste:3"/> |
| 669 | </filehash_test> |
| 670 | |
| 671 | <!-- OBJECT WITH STATE --> |
| 672 | |
| 673 | <!-- check_existence="all_exist" check="all" --> |
| 674 | |
| 675 | <filehash_test version="1" id="oval:1:tst:61" check_existence="all_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 676 | <object object_ref="oval:1:obj:1"/> |
| 677 | <state state_ref="oval:1:ste:1"/> |
| 678 | </filehash_test> |
| 679 | |
| 680 | <filehash_test version="1" id="oval:1:tst:62" check_existence="all_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 681 | <object object_ref="oval:1:obj:1"/> |
| 682 | <state state_ref="oval:1:ste:2"/> |
| 683 | </filehash_test> |
| 684 | |
| 685 | <filehash_test version="1" id="oval:1:tst:63" check_existence="all_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 686 | <object object_ref="oval:1:obj:1"/> |
| 687 | <state state_ref="oval:1:ste:3"/> |
| 688 | </filehash_test> |
| 689 | |
| 690 | <!-- check_existence="all_exist" check="at least one" --> |
| 691 | |
| 692 | <filehash_test version="1" id="oval:1:tst:64" check_existence="all_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 693 | <object object_ref="oval:1:obj:1"/> |
| 694 | <state state_ref="oval:1:ste:1"/> |
| 695 | </filehash_test> |
| 696 | |
| 697 | <filehash_test version="1" id="oval:1:tst:65" check_existence="all_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 698 | <object object_ref="oval:1:obj:1"/> |
| 699 | <state state_ref="oval:1:ste:2"/> |
| 700 | </filehash_test> |
| 701 | |
| 702 | <filehash_test version="1" id="oval:1:tst:66" check_existence="all_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 703 | <object object_ref="oval:1:obj:1"/> |
| 704 | <state state_ref="oval:1:ste:3"/> |
| 705 | </filehash_test> |
| 706 | |
| 707 | <!-- check_existence="all_exist" check="none satisfy" --> |
| 708 | |
| 709 | <filehash_test version="1" id="oval:1:tst:67" check_existence="all_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 710 | <object object_ref="oval:1:obj:1"/> |
| 711 | <state state_ref="oval:1:ste:1"/> |
| 712 | </filehash_test> |
| 713 | |
| 714 | <filehash_test version="1" id="oval:1:tst:68" check_existence="all_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 715 | <object object_ref="oval:1:obj:1"/> |
| 716 | <state state_ref="oval:1:ste:2"/> |
| 717 | </filehash_test> |
| 718 | |
| 719 | <filehash_test version="1" id="oval:1:tst:69" check_existence="all_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 720 | <object object_ref="oval:1:obj:1"/> |
| 721 | <state state_ref="oval:1:ste:3"/> |
| 722 | </filehash_test> |
| 723 | |
| 724 | <!-- check_existence="all_exist" check="only one" --> |
| 725 | |
| 726 | <filehash_test version="1" id="oval:1:tst:70" check_existence="all_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 727 | <object object_ref="oval:1:obj:1"/> |
| 728 | <state state_ref="oval:1:ste:1"/> |
| 729 | </filehash_test> |
| 730 | |
| 731 | <filehash_test version="1" id="oval:1:tst:71" check_existence="all_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 732 | <object object_ref="oval:1:obj:1"/> |
| 733 | <state state_ref="oval:1:ste:2"/> |
| 734 | </filehash_test> |
| 735 | |
| 736 | <filehash_test version="1" id="oval:1:tst:72" check_existence="all_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 737 | <object object_ref="oval:1:obj:1"/> |
| 738 | <state state_ref="oval:1:ste:3"/> |
| 739 | </filehash_test> |
| 740 | |
| 741 | <!-- check_existence="any_exist" check="all" --> |
| 742 | |
| 743 | <filehash_test version="1" id="oval:1:tst:73" check_existence="any_exist" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 744 | <object object_ref="oval:1:obj:1"/> |
| 745 | <state state_ref="oval:1:ste:1"/> |
| 746 | </filehash_test> |
| 747 | |
| 748 | <filehash_test version="1" id="oval:1:tst:74" check_existence="any_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 749 | <object object_ref="oval:1:obj:1"/> |
| 750 | <state state_ref="oval:1:ste:2"/> |
| 751 | </filehash_test> |
| 752 | |
| 753 | <filehash_test version="1" id="oval:1:tst:75" check_existence="any_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 754 | <object object_ref="oval:1:obj:1"/> |
| 755 | <state state_ref="oval:1:ste:3"/> |
| 756 | </filehash_test> |
| 757 | |
| 758 | <!-- check_existence="any_exist" check="at least one" --> |
| 759 | |
| 760 | <filehash_test version="1" id="oval:1:tst:76" check_existence="any_exist" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 761 | <object object_ref="oval:1:obj:1"/> |
| 762 | <state state_ref="oval:1:ste:1"/> |
| 763 | </filehash_test> |
| 764 | |
| 765 | <filehash_test version="1" id="oval:1:tst:77" check_existence="any_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 766 | <object object_ref="oval:1:obj:1"/> |
| 767 | <state state_ref="oval:1:ste:2"/> |
| 768 | </filehash_test> |
| 769 | |
| 770 | <filehash_test version="1" id="oval:1:tst:78" check_existence="any_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 771 | <object object_ref="oval:1:obj:1"/> |
| 772 | <state state_ref="oval:1:ste:3"/> |
| 773 | </filehash_test> |
| 774 | |
| 775 | <!-- check_existence="any_exist" check="none satisfy" --> |
| 776 | |
| 777 | <filehash_test version="1" id="oval:1:tst:79" check_existence="any_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 778 | <object object_ref="oval:1:obj:1"/> |
| 779 | <state state_ref="oval:1:ste:1"/> |
| 780 | </filehash_test> |
| 781 | |
| 782 | <filehash_test version="1" id="oval:1:tst:80" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 783 | <object object_ref="oval:1:obj:1"/> |
| 784 | <state state_ref="oval:1:ste:2"/> |
| 785 | </filehash_test> |
| 786 | |
| 787 | <filehash_test version="1" id="oval:1:tst:81" check_existence="any_exist" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 788 | <object object_ref="oval:1:obj:1"/> |
| 789 | <state state_ref="oval:1:ste:3"/> |
| 790 | </filehash_test> |
| 791 | |
| 792 | <!-- check_existence="any_exist" check="only one" --> |
| 793 | |
| 794 | <filehash_test version="1" id="oval:1:tst:82" check_existence="any_exist" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 795 | <object object_ref="oval:1:obj:1"/> |
| 796 | <state state_ref="oval:1:ste:1"/> |
| 797 | </filehash_test> |
| 798 | |
| 799 | <filehash_test version="1" id="oval:1:tst:83" check_existence="any_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 800 | <object object_ref="oval:1:obj:1"/> |
| 801 | <state state_ref="oval:1:ste:2"/> |
| 802 | </filehash_test> |
| 803 | |
| 804 | <filehash_test version="1" id="oval:1:tst:84" check_existence="any_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 805 | <object object_ref="oval:1:obj:1"/> |
| 806 | <state state_ref="oval:1:ste:3"/> |
| 807 | </filehash_test> |
| 808 | |
| 809 | <!-- check_existence="at_least_one_exists" check="all" --> |
| 810 | |
| 811 | <filehash_test version="1" id="oval:1:tst:85" check_existence="at_least_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 812 | <object object_ref="oval:1:obj:1"/> |
| 813 | <state state_ref="oval:1:ste:1"/> |
| 814 | </filehash_test> |
| 815 | |
| 816 | <filehash_test version="1" id="oval:1:tst:86" check_existence="at_least_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 817 | <object object_ref="oval:1:obj:1"/> |
| 818 | <state state_ref="oval:1:ste:2"/> |
| 819 | </filehash_test> |
| 820 | |
| 821 | <filehash_test version="1" id="oval:1:tst:87" check_existence="at_least_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 822 | <object object_ref="oval:1:obj:1"/> |
| 823 | <state state_ref="oval:1:ste:3"/> |
| 824 | </filehash_test> |
| 825 | |
| 826 | <!-- check_existence="at_least_one_exists" check="at least one" --> |
| 827 | |
| 828 | <filehash_test version="1" id="oval:1:tst:88" check_existence="at_least_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 829 | <object object_ref="oval:1:obj:1"/> |
| 830 | <state state_ref="oval:1:ste:1"/> |
| 831 | </filehash_test> |
| 832 | |
| 833 | <filehash_test version="1" id="oval:1:tst:89" check_existence="at_least_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 834 | <object object_ref="oval:1:obj:1"/> |
| 835 | <state state_ref="oval:1:ste:2"/> |
| 836 | </filehash_test> |
| 837 | |
| 838 | <filehash_test version="1" id="oval:1:tst:90" check_existence="at_least_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 839 | <object object_ref="oval:1:obj:1"/> |
| 840 | <state state_ref="oval:1:ste:3"/> |
| 841 | </filehash_test> |
| 842 | |
| 843 | <!-- check_existence="at_least_one_exists" check="none satisfy" --> |
| 844 | |
| 845 | <filehash_test version="1" id="oval:1:tst:91" check_existence="at_least_one_exists" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 846 | <object object_ref="oval:1:obj:1"/> |
| 847 | <state state_ref="oval:1:ste:1"/> |
| 848 | </filehash_test> |
| 849 | |
| 850 | <filehash_test version="1" id="oval:1:tst:92" check_existence="at_least_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 851 | <object object_ref="oval:1:obj:1"/> |
| 852 | <state state_ref="oval:1:ste:2"/> |
| 853 | </filehash_test> |
| 854 | |
| 855 | <filehash_test version="1" id="oval:1:tst:93" check_existence="at_least_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 856 | <object object_ref="oval:1:obj:1"/> |
| 857 | <state state_ref="oval:1:ste:3"/> |
| 858 | </filehash_test> |
| 859 | |
| 860 | <!-- check_existence="at_least_one_exists" check="only one" --> |
| 861 | |
| 862 | <filehash_test version="1" id="oval:1:tst:94" check_existence="at_least_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 863 | <object object_ref="oval:1:obj:1"/> |
| 864 | <state state_ref="oval:1:ste:1"/> |
| 865 | </filehash_test> |
| 866 | |
| 867 | <filehash_test version="1" id="oval:1:tst:95" check_existence="at_least_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 868 | <object object_ref="oval:1:obj:1"/> |
| 869 | <state state_ref="oval:1:ste:2"/> |
| 870 | </filehash_test> |
| 871 | |
| 872 | <filehash_test version="1" id="oval:1:tst:96" check_existence="at_least_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 873 | <object object_ref="oval:1:obj:1"/> |
| 874 | <state state_ref="oval:1:ste:3"/> |
| 875 | </filehash_test> |
| 876 | |
| 877 | <!-- check_existence="none_exist" check="all" --> |
| 878 | |
| 879 | <filehash_test version="1" id="oval:1:tst:97" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 880 | <object object_ref="oval:1:obj:1"/> |
| 881 | </filehash_test> |
| 882 | |
| 883 | <filehash_test version="1" id="oval:1:tst:98" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 884 | <object object_ref="oval:1:obj:1"/> |
| 885 | </filehash_test> |
| 886 | |
| 887 | <filehash_test version="1" id="oval:1:tst:99" check_existence="none_exist" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 888 | <object object_ref="oval:1:obj:1"/> |
| 889 | </filehash_test> |
| 890 | |
| 891 | <!-- check_existence="none_exist" check="at least one" --> |
| 892 | |
| 893 | <filehash_test version="1" id="oval:1:tst:100" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 894 | <object object_ref="oval:1:obj:1"/> |
| 895 | </filehash_test> |
| 896 | |
| 897 | <filehash_test version="1" id="oval:1:tst:101" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 898 | <object object_ref="oval:1:obj:1"/> |
| 899 | </filehash_test> |
| 900 | |
| 901 | <filehash_test version="1" id="oval:1:tst:102" check_existence="none_exist" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 902 | <object object_ref="oval:1:obj:1"/> |
| 903 | </filehash_test> |
| 904 | |
| 905 | <!-- check_existence="none_exist" check="none satisfy" --> |
| 906 | |
| 907 | <filehash_test version="1" id="oval:1:tst:103" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 908 | <object object_ref="oval:1:obj:1"/> |
| 909 | </filehash_test> |
| 910 | |
| 911 | <filehash_test version="1" id="oval:1:tst:104" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 912 | <object object_ref="oval:1:obj:1"/> |
| 913 | </filehash_test> |
| 914 | |
| 915 | <filehash_test version="1" id="oval:1:tst:105" check_existence="none_exist" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 916 | <object object_ref="oval:1:obj:1"/> |
| 917 | </filehash_test> |
| 918 | |
| 919 | <!-- check_existence="none_exist" check="only one" --> |
| 920 | |
| 921 | <filehash_test version="1" id="oval:1:tst:106" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 922 | <object object_ref="oval:1:obj:1"/> |
| 923 | </filehash_test> |
| 924 | |
| 925 | <filehash_test version="1" id="oval:1:tst:107" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 926 | <object object_ref="oval:1:obj:1"/> |
| 927 | </filehash_test> |
| 928 | |
| 929 | <filehash_test version="1" id="oval:1:tst:108" check_existence="none_exist" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 930 | <object object_ref="oval:1:obj:1"/> |
| 931 | </filehash_test> |
| 932 | |
| 933 | <!-- check_existence="only_one_exists" check="all" --> |
| 934 | |
| 935 | <filehash_test version="1" id="oval:1:tst:109" check_existence="only_one_exists" check="all" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 936 | <object object_ref="oval:1:obj:1"/> |
| 937 | <state state_ref="oval:1:ste:1"/> |
| 938 | </filehash_test> |
| 939 | |
| 940 | <filehash_test version="1" id="oval:1:tst:110" check_existence="only_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 941 | <object object_ref="oval:1:obj:1"/> |
| 942 | <state state_ref="oval:1:ste:2"/> |
| 943 | </filehash_test> |
| 944 | |
| 945 | <filehash_test version="1" id="oval:1:tst:111" check_existence="only_one_exists" check="all" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 946 | <object object_ref="oval:1:obj:1"/> |
| 947 | <state state_ref="oval:1:ste:3"/> |
| 948 | </filehash_test> |
| 949 | |
| 950 | <!-- check_existence="only_one_exists" check="at least one" --> |
| 951 | |
| 952 | <filehash_test version="1" id="oval:1:tst:112" check_existence="only_one_exists" check="at least one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 953 | <object object_ref="oval:1:obj:1"/> |
| 954 | <state state_ref="oval:1:ste:1"/> |
| 955 | </filehash_test> |
| 956 | |
| 957 | <filehash_test version="1" id="oval:1:tst:113" check_existence="only_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 958 | <object object_ref="oval:1:obj:1"/> |
| 959 | <state state_ref="oval:1:ste:2"/> |
| 960 | </filehash_test> |
| 961 | |
| 962 | <filehash_test version="1" id="oval:1:tst:114" check_existence="only_one_exists" check="at least one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 963 | <object object_ref="oval:1:obj:1"/> |
| 964 | <state state_ref="oval:1:ste:3"/> |
| 965 | </filehash_test> |
| 966 | |
| 967 | <!-- check_existence="only_one_exists" check="none satisfy" --> |
| 968 | |
| 969 | <filehash_test version="1" id="oval:1:tst:115" check_existence="only_one_exists" check="none satisfy" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 970 | <object object_ref="oval:1:obj:1"/> |
| 971 | <state state_ref="oval:1:ste:1"/> |
| 972 | </filehash_test> |
| 973 | |
| 974 | <filehash_test version="1" id="oval:1:tst:116" check_existence="only_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 975 | <object object_ref="oval:1:obj:1"/> |
| 976 | <state state_ref="oval:1:ste:2"/> |
| 977 | </filehash_test> |
| 978 | |
| 979 | <filehash_test version="1" id="oval:1:tst:117" check_existence="only_one_exists" check="none satisfy" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 980 | <object object_ref="oval:1:obj:1"/> |
| 981 | <state state_ref="oval:1:ste:3"/> |
| 982 | </filehash_test> |
| 983 | |
| 984 | <!-- check_existence="only_one_exists" check="only one" --> |
| 985 | |
| 986 | <filehash_test version="1" id="oval:1:tst:118" check_existence="only_one_exists" check="only one" comment="true" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 987 | <object object_ref="oval:1:obj:1"/> |
| 988 | <state state_ref="oval:1:ste:1"/> |
| 989 | </filehash_test> |
| 990 | |
| 991 | <filehash_test version="1" id="oval:1:tst:119" check_existence="only_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 992 | <object object_ref="oval:1:obj:1"/> |
| 993 | <state state_ref="oval:1:ste:2"/> |
| 994 | </filehash_test> |
| 995 | |
| 996 | <filehash_test version="1" id="oval:1:tst:120" check_existence="only_one_exists" check="only one" comment="false" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 997 | <object object_ref="oval:1:obj:1"/> |
| 998 | <state state_ref="oval:1:ste:3"/> |
| 999 | </filehash_test> |
| 1000 | |
| 1001 | </tests> |
| 1002 | |
| 1003 | <objects> |
| 1004 | |
| 1005 | <!-- EXISTING OBJECT --> |
| 1006 | <filehash_object version="1" id="oval:1:obj:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 1007 | <path>/tmp</path> |
| 1008 | <filename>test_probes_filehash.tmp</filename> |
| 1009 | </filehash_object> |
| 1010 | |
| 1011 | <!-- NON-EXISTING OBJECT --> |
| 1012 | <filehash_object version="1" id="oval:1:obj:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 1013 | <path>/tmp</path> |
| 1014 | <filename>test_probes_filehash.invalid</filename> |
| 1015 | </filehash_object> |
| 1016 | |
| 1017 | </objects> |
| 1018 | |
| 1019 | <states> |
| 1020 | |
| 1021 | <!-- FULLY TRUE STATE --> |
| 1022 | <filehash_state version="1" id="oval:1:ste:1" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 1023 | <path>/tmp</path> |
| 1024 | <filename>test_probes_filehash.tmp</filename> |
| 1025 | <md5>`md5sum /tmp/test_probes_filehash.tmp | awk '{print $1}'`</md5> |
| 1026 | <sha1>`sha1sum /tmp/test_probes_filehash.tmp | awk '{print $1}'`</sha1> |
| 1027 | </filehash_state> |
| 1028 | |
| 1029 | <!-- FULLY FALSE STATE --> |
| 1030 | <filehash_state version="1" id="oval:1:ste:2" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 1031 | <path>/tmp</path> |
| 1032 | <filename>test_probes_filehash.tmp</filename> |
| 1033 | <md5>incorrect-md5</md5> |
| 1034 | <sha1>incorrect-sha1</sha1> |
| 1035 | </filehash_state> |
| 1036 | |
| 1037 | <!-- MIXED STATE --> |
| 1038 | <filehash_state version="1" id="oval:1:ste:3" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#independent"> |
| 1039 | <path>/tmp</path> |
| 1040 | <filename>test_probes_filehash.tmp</filename> |
| 1041 | <md5>incorrect-md5</md5> |
| 1042 | <sha1>`sha1sum /tmp/test_probes_filehash.tmp | awk '{print $1}'`</sha1> |
| 1043 | </filehash_state> |
| 1044 | |
| 1045 | </states> |
| 1046 | |
| 1047 | </oval_definitions> |
| 1048 | EOF |