Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions tests/resources/distros/almalinux10/etc/almalinux-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AlmaLinux release 10.0 (Purple Lion)
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Derived from Red Hat Enterprise Linux 10.0
1 change: 1 addition & 0 deletions tests/resources/distros/almalinux10/etc/centos-release
1 change: 1 addition & 0 deletions tests/resources/distros/almalinux10/etc/os-release
1 change: 1 addition & 0 deletions tests/resources/distros/almalinux10/etc/redhat-release
1 change: 1 addition & 0 deletions tests/resources/distros/almalinux10/etc/system-release
1 change: 1 addition & 0 deletions tests/resources/distros/almalinux10/etc/system-release-cpe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cpe:/o:almalinux:almalinux:10::baseos
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
AlmaLinux release 10.0 (Purple Lion)
21 changes: 21 additions & 0 deletions tests/resources/distros/almalinux10/usr/lib/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
NAME="AlmaLinux"
VERSION="10.0 (Purple Lion)"
ID="almalinux"
ID_LIKE="rhel centos fedora"
VERSION_ID="10.0"
PLATFORM_ID="platform:el10"
PRETTY_NAME="AlmaLinux 10.0 (Purple Lion)"
ANSI_COLOR="0;34"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:almalinux:almalinux:10::baseos"
HOME_URL="https://almalinux.org/"
DOCUMENTATION_URL="https://wiki.almalinux.org/"
VENDOR_NAME="AlmaLinux"
VENDOR_URL="https://almalinux.org/"
BUG_REPORT_URL="https://bugs.almalinux.org/"

ALMALINUX_MANTISBT_PROJECT="AlmaLinux-10"
ALMALINUX_MANTISBT_PROJECT_VERSION="10.0"
REDHAT_SUPPORT_PRODUCT="AlmaLinux"
REDHAT_SUPPORT_PRODUCT_VERSION="10.0"
SUPPORT_END=2035-06-01
1 change: 1 addition & 0 deletions tests/resources/distros/centosstream9/etc/centos-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CentOS Stream release 9
14 changes: 14 additions & 0 deletions tests/resources/distros/centosstream9/etc/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
21 changes: 21 additions & 0 deletions tests/resources/distros/debian13/bin/lsb_release
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash
#
# lsb_release command for testing the ld module.
# Only the -a option is supported.
#
# This version of the lsb_release command works without a corresponding
# etc/lsb-release file.
#

if [[ "$@" != "-a" ]]; then
echo "Usage: lsb_release -a"
exit 2
fi

echo "No LSB modules are available."
echo "Distributor ID: Debian"
echo "Description: Debian GNU/Linux 13 (trixie)"
echo "Release: 13"
echo "Codename: trixie"

exit 0
1 change: 1 addition & 0 deletions tests/resources/distros/debian13/etc/debian_version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
13.1
10 changes: 10 additions & 0 deletions tests/resources/distros/debian13/etc/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
PRETTY_NAME="Debian GNU/Linux 13 (trixie)"
NAME="Debian GNU/Linux"
VERSION_ID="13"
VERSION="13 (trixie)"
VERSION_CODENAME=trixie
DEBIAN_VERSION_FULL=13.1
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
1 change: 1 addition & 0 deletions tests/resources/distros/fedora42/etc/fedora-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fedora release 42 (Forty Two)
20 changes: 20 additions & 0 deletions tests/resources/distros/fedora42/usr/lib/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
NAME="Fedora Linux"
VERSION="42 (Forty Two)"
ID=fedora
VERSION_ID=42
VERSION_CODENAME=""
PLATFORM_ID="platform:f42"
PRETTY_NAME="Fedora Linux 42 (Forty Two)"
ANSI_COLOR="0;38;2;60;110;180"
LOGO=fedora-logo-icon
CPE_NAME="cpe:/o:fedoraproject:fedora:42"
DEFAULT_HOSTNAME="fedora"
HOME_URL="https://fedoraproject.org/"
DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f42/"
SUPPORT_URL="https://ask.fedoraproject.org/"
BUG_REPORT_URL="https://bugzilla.redhat.com/"
REDHAT_BUGZILLA_PRODUCT="Fedora"
REDHAT_BUGZILLA_PRODUCT_VERSION=42
REDHAT_SUPPORT_PRODUCT="Fedora"
REDHAT_SUPPORT_PRODUCT_VERSION=42
SUPPORT_END=2026-05-13
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/centos-release
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/os-release
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/redhat-release
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/rocky-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rocky Linux release 9.3 (Blue Onyx)
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/rocky-release-upstream
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Derived from Red Hat Enterprise Linux 9.3
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/system-release
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/etc/system-release-cpe
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
cpe:/o:rocky:rocky:9::baseos
17 changes: 17 additions & 0 deletions tests/resources/distros/rocky9/usr/lib/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
NAME="Rocky Linux"
VERSION="9.3 (Blue Onyx)"
ID="rocky"
ID_LIKE="rhel centos fedora"
VERSION_ID="9.3"
PLATFORM_ID="platform:el9"
PRETTY_NAME="Rocky Linux 9.3 (Blue Onyx)"
ANSI_COLOR="0;32"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:rocky:rocky:9::baseos"
HOME_URL="https://rockylinux.org/"
BUG_REPORT_URL="https://bugs.rockylinux.org/"
SUPPORT_END="2032-05-31"
ROCKY_SUPPORT_PRODUCT="Rocky-Linux-9"
ROCKY_SUPPORT_PRODUCT_VERSION="9.3"
REDHAT_SUPPORT_PRODUCT="Rocky Linux"
REDHAT_SUPPORT_PRODUCT_VERSION="9.3"
1 change: 1 addition & 0 deletions tests/resources/distros/rocky9/usr/lib/rocky-release
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Rocky Linux release 9.3 (Blue Onyx)
1 change: 1 addition & 0 deletions tests/resources/distros/ubuntu24/etc/debian_version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
trixie/sid
4 changes: 4 additions & 0 deletions tests/resources/distros/ubuntu24/etc/lsb-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=24.04
DISTRIB_CODENAME=noble
DISTRIB_DESCRIPTION="Ubuntu 24.04.3 LTS"
13 changes: 13 additions & 0 deletions tests/resources/distros/ubuntu24/etc/os-release
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
PRETTY_NAME="Ubuntu 24.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="24.04"
VERSION="24.04.3 LTS (Noble Numbat)"
VERSION_CODENAME=noble
ID=ubuntu
ID_LIKE=debian
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
UBUNTU_CODENAME=noble
LOGO=ubuntu-logo
Loading