TEST-99: exclude /etc/dnf/* from check

file /etc/dnf/modules.d/eclipse.module.rpmmoved is not owned by any package
master
Harald Hoyer 2020-04-09 22:05:41 +02:00 committed by Harald Hoyer
parent 3b626094bd
commit 11474b808b
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ find / -xdev -type f -not -path '/var/*' \
-not -path "/boot/loader/entries/\$(cat /etc/machine-id)-*" \
-not -path "/boot/\$(cat /etc/machine-id)/*" \
-not -path '/etc/openldap/certs/*' \
-not -path '/etc/dnf/*' \
-print0 | xargs -0 rpm -qf | \
grep -F 'not owned' &>> /test.output || :
exit 0