#361 Allow code name Adams for Fedora 42 in fedora_release file.
Merged 2 months ago by adamwill. Opened 2 months ago by lruzicka.

file modified
+6
@@ -27,6 +27,12 @@ 

      # Create the expected content of the release file

      # and compare it with its real counterpart.

      my $expected = "Fedora release $expectver ($speltnum)";

+     # On Fedora 42, the code name Adams was introduced to

+     # celebrate the number 42 with regards to Douglas Adams

+     # Hitchhiker's Guide to Galaxy and the universal number.

+     if ($expectver == 42) {

+         $expected = "Fedora release 42 (Adams)";

+     }

      validate_script_output 'cat /etc/fedora-release', sub { $_ eq $expected };

  }

  

Normally, the /etc/fedora-release file shows a text consisting
of "Fedora release" with the version number and a spelt out
version number in brackets.

For Fedora 42, the code name Adams should be used instead to
celebrate Douglas Adams's number of the universe.

Fixes: https://pagure.io/fedora-qa/os-autoinst-distri-fedora/issue/360

Build failed. More information on how to proceed and troubleshoot errors available at https://fedoraproject.org/wiki/Zuul-based-ci
https://fedora.softwarefactory-project.io/zuul/buildset/50db1127e05745b2bb03649c91a596d7

Metadata Update from @lruzicka:
- Request assigned

2 months ago

I have tested this PR and it works as expected.

Pull-Request has been merged by adamwill

2 months ago
Metadata