|
Harald Hoyer |
308914 |
From 11474b808b6fbd373b2ca6ce3350a024e6a8ea15 Mon Sep 17 00:00:00 2001
|
|
Harald Hoyer |
308914 |
From: Harald Hoyer <harald@redhat.com>
|
|
Harald Hoyer |
308914 |
Date: Thu, 9 Apr 2020 22:05:41 +0200
|
|
Harald Hoyer |
308914 |
Subject: [PATCH] TEST-99: exclude /etc/dnf/* from check
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
file /etc/dnf/modules.d/eclipse.module.rpmmoved is not owned by any package
|
|
Harald Hoyer |
308914 |
---
|
|
Harald Hoyer |
308914 |
test/TEST-99-RPM/test.sh | 1 +
|
|
Harald Hoyer |
308914 |
1 file changed, 1 insertion(+)
|
|
Harald Hoyer |
308914 |
|
|
Harald Hoyer |
308914 |
diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
308914 |
index af64c24a..504fd77f 100755
|
|
Harald Hoyer |
308914 |
--- a/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
308914 |
+++ b/test/TEST-99-RPM/test.sh
|
|
Harald Hoyer |
308914 |
@@ -84,6 +84,7 @@ find / -xdev -type f -not -path '/var/*' \
|
|
Harald Hoyer |
308914 |
-not -path "/boot/loader/entries/\$(cat /etc/machine-id)-*" \
|
|
Harald Hoyer |
308914 |
-not -path "/boot/\$(cat /etc/machine-id)/*" \
|
|
Harald Hoyer |
308914 |
-not -path '/etc/openldap/certs/*' \
|
|
Harald Hoyer |
308914 |
+ -not -path '/etc/dnf/*' \
|
|
Harald Hoyer |
308914 |
-print0 | xargs -0 rpm -qf | \
|
|
Harald Hoyer |
308914 |
grep -F 'not owned' &>> /test.output || :
|
|
Harald Hoyer |
308914 |
exit 0
|
|
Harald Hoyer |
308914 |
|