Blob Blame History Raw
diff --git a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.sh b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.sh
index cefde6b75..e913a56c4 100755
--- a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.sh
+++ b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.sh
@@ -41,7 +41,7 @@ function test_probes_rpmverifyfile {
     assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:release'
     assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:arch'
     assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:filepath'
-    assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:filepath[text()="/etc/os-release"]'
+    assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:filepath[text()="/usr/bin/true"]'
     sc='oval_results/results/system/oval_system_characteristics/'
     sd=$sc'system_data/'
     assert_exists 1 $sc'collected_objects/object'
diff --git a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.xml b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.xml
index ecdecc75c..e3faa2631 100644
--- a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.xml
+++ b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile.xml
@@ -30,7 +30,7 @@
         <lin-def:version operation="pattern match"/>
         <lin-def:release operation="pattern match"/>
         <lin-def:arch operation="pattern match"/>
-        <lin-def:filepath>/etc/os-release</lin-def:filepath>
+        <lin-def:filepath>/usr/bin/true</lin-def:filepath>
     </lin-def:rpmverifyfile_object>
   </objects>
 
diff --git a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.sh b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.sh
index 3cb63eebe..da74e4671 100755
--- a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.sh
+++ b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.sh
@@ -40,7 +40,7 @@ function test_probes_rpmverifyfile {
     assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:release'
     assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:arch'
     assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:filepath'
-    assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:filepath[text()="/etc/os-release"]'
+    assert_exists 1 'oval_results/oval_definitions/objects/lin-def:rpmverifyfile_object/lin-def:filepath[text()="/usr/bin/true"]'
     sc='oval_results/results/system/oval_system_characteristics/'
     sd=$sc'system_data/'
     assert_exists 1 $sc'collected_objects/object'
diff --git a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.xml b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.xml
index 73f9e76a3..420485146 100644
--- a/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.xml
+++ b/tests/probes/rpm/rpmverifyfile/test_probes_rpmverifyfile_older.xml
@@ -30,7 +30,7 @@
         <lin-def:version operation="pattern match"/>
         <lin-def:release operation="pattern match"/>
         <lin-def:arch operation="pattern match"/>
-        <lin-def:filepath>/etc/os-release</lin-def:filepath>
+        <lin-def:filepath>/usr/bin/true</lin-def:filepath>
     </lin-def:rpmverifyfile_object>
   </objects>