Skip to content

Commit b021edc

Browse files
nir0sclaude
andcommitted
Add test support for Rocky Linux 9.3 (Blue Onyx)
Adds test resources and test case for Rocky Linux 9.3, a stable RHEL clone with support until 2032. Includes rocky-release files, upstream attribution, CPE metadata, and os-release for proper distribution identification. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 3fac359 commit b021edc

File tree

5 files changed

+33
-0
lines changed

5 files changed

+33
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Rocky Linux release 9.3 (Blue Onyx)
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Derived from Red Hat Enterprise Linux 9.3
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
cpe:/o:rocky:rocky:9::baseos
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
NAME="Rocky Linux"
2+
VERSION="9.3 (Blue Onyx)"
3+
ID="rocky"
4+
ID_LIKE="rhel centos fedora"
5+
VERSION_ID="9.3"
6+
PLATFORM_ID="platform:el9"
7+
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
8+
ANSI_COLOR="0;32"
9+
LOGO="fedora-logo-icon"
10+
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
11+
HOME_URL="https://rockylinux.org/"
12+
BUG_REPORT_URL="https://bugs.rockylinux.org/"
13+
SUPPORT_END="2032-05-31"
14+
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
15+
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
16+
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
17+
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"

tests/test_distro.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -451,6 +451,19 @@ def test_almalinux10_os_release(self) -> None:
451451
}
452452
self._test_outcome(desired_outcome)
453453

454+
def test_rocky9_os_release(self) -> None:
455+
desired_outcome = {
456+
"id": "rocky",
457+
"name": "Rocky Linux",
458+
"pretty_name": "Rocky Linux 9.3 (Blue Onyx)",
459+
"version": "9.3",
460+
"pretty_version": "9.3 (Blue Onyx)",
461+
"best_version": "9.3",
462+
"like": "rhel centos fedora",
463+
"codename": "Blue Onyx",
464+
}
465+
self._test_outcome(desired_outcome)
466+
454467
def test_slackware14_os_release(self) -> None:
455468
desired_outcome = {
456469
"id": "slackware",

0 commit comments

Comments
 (0)