Skip to content

Commit a15ec52

Browse files
nir0sclaude
andcommitted
Add test support for Ubuntu 24.04 LTS (Noble Numbat)
Adds test resources and test case for Ubuntu 24.04.3 LTS, the latest Ubuntu LTS release as of 2025. Includes os-release, lsb-release, and debian_version files for proper distribution identification. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent d9ae439 commit a15ec52

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
trixie/sid
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
DISTRIB_ID=Ubuntu
2+
DISTRIB_RELEASE=24.04
3+
DISTRIB_CODENAME=noble
4+
DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
PRETTY_NAME="Ubuntu 24.04.3 LTS"
2+
NAME="Ubuntu"
3+
VERSION_ID="24.04"
4+
VERSION="24.04.3 LTS (Noble Numbat)"
5+
VERSION_CODENAME=noble
6+
ID=ubuntu
7+
ID_LIKE=debian
8+
HOME_URL="https://www.ubuntu.com/"
9+
SUPPORT_URL="https://help.ubuntu.com/"
10+
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
11+
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
12+
UBUNTU_CODENAME=noble
13+
LOGO=ubuntu-logo

tests/test_distro.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,19 @@ def test_ubuntu16_os_release(self) -> None:
462462
}
463463
self._test_outcome(desired_outcome)
464464

465+
def test_ubuntu24_os_release(self) -> None:
466+
desired_outcome = {
467+
"id": "ubuntu",
468+
"name": "Ubuntu",
469+
"pretty_name": "Ubuntu 24.04.3 LTS",
470+
"version": "24.04",
471+
"pretty_version": "24.04 (noble)",
472+
"best_version": "24.04.3",
473+
"like": "debian",
474+
"codename": "noble",
475+
}
476+
self._test_outcome(desired_outcome)
477+
465478
def test_amazon2016_os_release(self) -> None:
466479
desired_outcome = {
467480
"id": "amzn",

0 commit comments

Comments
 (0)