File tree Expand file tree Collapse file tree
resources/distros/fedora42 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Fedora release 42 (Forty Two)
Original file line number Diff line number Diff line change 1+ NAME="Fedora Linux"
2+ VERSION="42 (Forty Two)"
3+ ID=fedora
4+ VERSION_ID=42
5+ VERSION_CODENAME=""
6+ PLATFORM_ID="platform:f42"
7+ PRETTY_NAME="Fedora Linux 42 (Forty Two)"
8+ ANSI_COLOR="0;38;2;60;110;180"
9+ LOGO=fedora-logo-icon
10+ CPE_NAME="cpe:/o:fedoraproject:fedora:42"
11+ DEFAULT_HOSTNAME="fedora"
12+ HOME_URL="https://fedoraproject.org/"
13+ DOCUMENTATION_URL="https://docs.fedoraproject.org/en-US/fedora/f42/"
14+ SUPPORT_URL="https://ask.fedoraproject.org/"
15+ BUG_REPORT_URL="https://bugzilla.redhat.com/"
16+ REDHAT_BUGZILLA_PRODUCT="Fedora"
17+ REDHAT_BUGZILLA_PRODUCT_VERSION=42
18+ REDHAT_SUPPORT_PRODUCT="Fedora"
19+ REDHAT_SUPPORT_PRODUCT_VERSION=42
20+ SUPPORT_END=2026-05-13
Original file line number Diff line number Diff line change @@ -297,6 +297,18 @@ def test_fedora30_os_release(self) -> None:
297297 }
298298 self ._test_outcome (desired_outcome )
299299
300+ def test_fedora42_os_release (self ) -> None :
301+ desired_outcome = {
302+ "id" : "fedora" ,
303+ "name" : "Fedora Linux" ,
304+ "pretty_name" : "Fedora Linux 42 (Forty Two)" ,
305+ "version" : "42" ,
306+ "pretty_version" : "42" ,
307+ "best_version" : "42" ,
308+ "codename" : "" ,
309+ }
310+ self ._test_outcome (desired_outcome )
311+
300312 def test_guix_os_release (self ) -> None :
301313 desired_outcome = {
302314 "id" : "guix" ,
@@ -1452,6 +1464,27 @@ def test_fedora30_release(self) -> None:
14521464 }
14531465 self ._test_release_file_info ("fedora-release" , desired_info )
14541466
1467+ def test_fedora42_release (self ) -> None :
1468+ desired_outcome = {
1469+ "id" : "fedora" ,
1470+ "name" : "Fedora Linux" ,
1471+ "pretty_name" : "Fedora Linux 42 (Forty Two)" ,
1472+ "version" : "42" ,
1473+ "pretty_version" : "42" ,
1474+ "best_version" : "42" ,
1475+ "codename" : "" ,
1476+ "major_version" : "42" ,
1477+ }
1478+ self ._test_outcome (desired_outcome )
1479+
1480+ desired_info = {
1481+ "id" : "fedora" ,
1482+ "name" : "Fedora" ,
1483+ "version_id" : "42" ,
1484+ "codename" : "Forty Two" ,
1485+ }
1486+ self ._test_release_file_info ("fedora-release" , desired_info )
1487+
14551488 def test_kvmibm1_release (self ) -> None :
14561489 desired_outcome = {
14571490 "id" : "kvmibm" ,
You can’t perform that action at this time.
0 commit comments