Remove stray .patch file
Resolves: RHEL-80365 Resolves: RHEL-76129
This commit is contained in:
parent
15e4599850
commit
504bb5eba1
@ -1,38 +0,0 @@
|
||||
From 5b96245740eb8ee94ff744edb9cacd1d161ddec0 Mon Sep 17 00:00:00 2001
|
||||
From: "Bryn M. Reeves" <bmr@redhat.com>
|
||||
Date: Fri, 20 Dec 2024 20:32:14 +0000
|
||||
Subject: [PATCH] tests: temporarily exclude CentOS from test_boot.is_redhat()
|
||||
check
|
||||
|
||||
The current version of boom-boot in CentOS Stream does not support
|
||||
automatic --uname-pattern for CentOS installations:
|
||||
|
||||
# boom profile create --from-host
|
||||
Could not determine uname pattern for 'CentOS Stream'
|
||||
|
||||
Exclude CentOS temporarily from the profile auto-creation test until
|
||||
https://github.com/snapshotmanager/boom-boot/issues/59 is fixed and
|
||||
available in the CentOS repos.
|
||||
---
|
||||
tests/test_boot.py | 5 ++++-
|
||||
1 file changed, 4 insertions(+), 1 deletion(-)
|
||||
|
||||
diff --git a/tests/test_boot.py b/tests/test_boot.py
|
||||
index a15ce5f..e8d76ee 100644
|
||||
--- a/tests/test_boot.py
|
||||
+++ b/tests/test_boot.py
|
||||
@@ -39,7 +39,10 @@ _VAR_TMP = "/var/tmp"
|
||||
|
||||
|
||||
def is_redhat():
|
||||
- return os.path.exists("/etc/redhat-release")
|
||||
+ # Exclude CentOS for now until the fix for boom-boot #59 is available
|
||||
+ # in the CentOS repositories.
|
||||
+ return (os.path.exists("/etc/redhat-release")
|
||||
+ and not os.path.exists("/etc/centos-release"))
|
||||
|
||||
|
||||
class BootTestsSimple(unittest.TestCase):
|
||||
--
|
||||
2.47.1
|
||||
|
||||
Loading…
Reference in New Issue
Block a user