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

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