Blame SOURCES/0003-test-Disable-LVM-related-storaged-tests-on-RHEL-7.5.patch

466fe4
From 6c5aca1e308433ed64b2413ae9eb82bc160a7297 Mon Sep 17 00:00:00 2001
466fe4
From: Martin Pitt <martin@piware.de>
466fe4
Date: Mon, 16 Oct 2017 20:54:29 +0200
466fe4
Subject: [PATCH 3/6] test: Disable LVM related storaged tests on RHEL 7.5
466fe4
466fe4
udisks2-lvm2 is not currently available on RHEL 7.5, so disable the
466fe4
corresponding tests.
466fe4
466fe4
See https://bugzilla.redhat.com/show_bug.cgi?id=1503100
466fe4
466fe4
Reviewed-by: Peter <petervo@redhat.com>
466fe4
---
466fe4
 test/verify/check-storage-hidden    | 2 ++
466fe4
 test/verify/check-storage-lvm2      | 2 ++
466fe4
 test/verify/check-storage-multipath | 2 ++
466fe4
 test/verify/check-storage-resize    | 2 ++
466fe4
 4 files changed, 8 insertions(+)
466fe4
466fe4
diff --git a/test/verify/check-storage-hidden b/test/verify/check-storage-hidden
466fe4
index fc4d5a7..1498bee 100755
466fe4
--- a/test/verify/check-storage-hidden
466fe4
+++ b/test/verify/check-storage-hidden
466fe4
@@ -24,6 +24,8 @@ from testlib import *
466fe4
 from storagelib import *
466fe4
 
466fe4
 @skipImage("UDisks doesn't have support for LVM", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable")
466fe4
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
466fe4
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
466fe4
 class TestStorage(StorageCase):
466fe4
     def testHiddenLuks(self):
466fe4
         m = self.machine
466fe4
diff --git a/test/verify/check-storage-lvm2 b/test/verify/check-storage-lvm2
466fe4
index 13f70ef..b68846d 100755
466fe4
--- a/test/verify/check-storage-lvm2
466fe4
+++ b/test/verify/check-storage-lvm2
466fe4
@@ -24,6 +24,8 @@ from testlib import *
466fe4
 from storagelib import *
466fe4
 
466fe4
 @skipImage("UDisks doesn't have support for LVM", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable")
466fe4
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
466fe4
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
466fe4
 class TestStorage(StorageCase):
466fe4
     def testLvm(self):
466fe4
         m = self.machine
466fe4
diff --git a/test/verify/check-storage-multipath b/test/verify/check-storage-multipath
466fe4
index 12770b8..9fa5a88 100755
466fe4
--- a/test/verify/check-storage-multipath
466fe4
+++ b/test/verify/check-storage-multipath
466fe4
@@ -24,6 +24,8 @@ from storagelib import *
466fe4
 
466fe4
 @skipImage("UDisks doesn't have support for multipath", "debian-stable", "ubuntu-1604", "ubuntu-stable")
466fe4
 @skipImage("No multipath on Debian", "debian-testing")
466fe4
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
466fe4
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
466fe4
 class TestStorage(StorageCase):
466fe4
     def testBasic(self):
466fe4
         m = self.machine
466fe4
diff --git a/test/verify/check-storage-resize b/test/verify/check-storage-resize
466fe4
index 4d89db5..2a8e126 100755
466fe4
--- a/test/verify/check-storage-resize
466fe4
+++ b/test/verify/check-storage-resize
466fe4
@@ -24,6 +24,8 @@ from testlib import *
466fe4
 from storagelib import *
466fe4
 
466fe4
 @skipImage("UDisks doesn't have support for LVM", "debian-stable", "debian-testing", "ubuntu-1604", "ubuntu-stable")
466fe4
+# HACK: https://bugzilla.redhat.com/show_bug.cgi?id=1503100
466fe4
+@skipImage("udisks2-lvm2 missing in RHEL 7.5", "rhel-7-5")
466fe4
 class TestStorage(StorageCase):
466fe4
     def testResize(self):
466fe4
         m = self.machine
466fe4
-- 
466fe4
2.14.3
466fe4