forked from pool/openscap
- Update to openscap-1.3.0 - move to cmake - improve unit test, planned for inclusion with 1.3.1 - tests do no complete as of yet, still future work needed OBS-URL: https://build.opensuse.org/request/show/651059 OBS-URL: https://build.opensuse.org/package/show/security/openscap?expand=0&rev=225
20 lines
1.0 KiB
Diff
20 lines
1.0 KiB
Diff
diff --git a/tests/probes/rpmverify/test_not_equals_operation.xml b/tests/probes/rpmverify/test_not_equals_operation.xml
|
|
index abdfcc4c7..1855b981e 100644
|
|
--- a/tests/probes/rpmverify/test_not_equals_operation.xml
|
|
+++ b/tests/probes/rpmverify/test_not_equals_operation.xml
|
|
@@ -29,12 +29,12 @@
|
|
<objects>
|
|
<rpmverify_object id="oval:x:obj:1" version="1" comment="should return precisely one package" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
|
|
<name operation="pattern match"/>
|
|
- <filepath>/</filepath>
|
|
+ <filepath>/etc</filepath>
|
|
</rpmverify_object>
|
|
|
|
<rpmverify_object id="oval:x:obj:2" version="1" comment="the path should match two packages but the result should only be one package" xmlns="http://oval.mitre.org/XMLSchema/oval-definitions-5#linux">
|
|
<name operation="not equal" var_ref="oval:x:var:1"/>
|
|
- <filepath operation="pattern match">(^/$|^/etc/passwd$)</filepath>
|
|
+ <filepath operation="pattern match">(^/etc$|^/etc/os-release$)</filepath>
|
|
</rpmverify_object>
|
|
</objects>
|
|
|