Blame 0009-TEST-99-RPM-ignore-rescue-images.patch

Harald Hoyer 38a2dd
From db9fbaf9b8753bad46fb7c43d860e234919d2bc9 Mon Sep 17 00:00:00 2001
Harald Hoyer 38a2dd
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 38a2dd
Date: Fri, 5 Apr 2013 11:52:33 +0200
Harald Hoyer 38a2dd
Subject: [PATCH] TEST-99-RPM: ignore rescue images
Harald Hoyer 38a2dd
Harald Hoyer 38a2dd
---
Harald Hoyer 38a2dd
 test/TEST-99-RPM/test.sh | 1 +
Harald Hoyer 38a2dd
 1 file changed, 1 insertion(+)
Harald Hoyer 38a2dd
Harald Hoyer 38a2dd
diff --git a/test/TEST-99-RPM/test.sh b/test/TEST-99-RPM/test.sh
Harald Hoyer 38a2dd
index 66f0beb..f030cb0 100755
Harald Hoyer 38a2dd
--- a/test/TEST-99-RPM/test.sh
Harald Hoyer 38a2dd
+++ b/test/TEST-99-RPM/test.sh
Harald Hoyer 38a2dd
@@ -50,6 +50,7 @@ find / -xdev -type f -not -path '/var/*' \
Harald Hoyer 38a2dd
   -not -path '/test.output' \
Harald Hoyer 38a2dd
   -not -path '/etc/nsswitch.conf.bak' \
Harald Hoyer 38a2dd
   -not -path '/etc/iscsi/initiatorname.iscsi' \
Harald Hoyer 38a2dd
+  -not -path '/boot/*0-rescue*' \
Harald Hoyer 38a2dd
   -not -path '/dev/null' \
Harald Hoyer 38a2dd
   -exec rpm -qf '{}' ';' | \
Harald Hoyer 38a2dd
   fgrep 'not owned' &> /test.output