Skip to content

Commit 29180d0

Browse files
committed
Check if /root is owned by an RPM package
This test assumes that certain paths are owned by RPM packages, but this isn't the case on Ubuntu.
1 parent 7bebe57 commit 29180d0

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/probes/rpm/rpmverify/test_probes_rpmverify_not_equals_operation.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ set -e -o pipefail
77

88
function perform_test {
99
probecheck "rpmverify" || return 255
10+
require rpm || return 255
11+
rpm -qf /root || return 255
1012

1113
DF="$srcdir/test_probes_rpmverify_not_equals_operation.xml"
1214
RF="results.xml"

0 commit comments

Comments
 (0)