]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
TEST-99: exclude /etc/dnf/* from check
authorHarald Hoyer <harald@redhat.com>
Thu, 9 Apr 2020 20:05:41 +0000 (22:05 +0200)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 9 Apr 2020 20:11:16 +0000 (22:11 +0200)
file /etc/dnf/modules.d/eclipse.module.rpmmoved is not owned by any package

test/TEST-99-RPM/test.sh

index af64c24a9b286e510736ef86d8fa9dc093a6dbd4..504fd77f7d9143da9181e9a3faa1c05dffe1de6d 100755 (executable)
@@ -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