From 37338a2325882d8ccbdcfef963518558b50c2a00 Mon Sep 17 00:00:00 2001 From: Adam Williamson Date: Thu, 24 Apr 2025 15:39:13 -0700 Subject: [PATCH] os_release: drop PLATFORM_ID check PLATFORM_ID is dropped in latest fedora-release, so let's just not bother checking it any more. Signed-off-by: Adam Williamson --- tests/os_release.pm | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tests/os_release.pm b/tests/os_release.pm index cf194622..dc370916 100644 --- a/tests/os_release.pm +++ b/tests/os_release.pm @@ -129,7 +129,6 @@ sub run { if (get_var("CANNED")) { $version = "$cannedtag ($varstr)"; } - my $platform_id = "platform:f$version_id"; my $pretty = "$fullname $version_id ($varstr)"; # Same problem is when testing the PRETTY_NAME. if (get_var("CANNED")) { @@ -155,10 +154,6 @@ sub run { # Test for version_id rec_log "VERSION_ID should be $version_id and is $content{'VERSION_ID'}", $content{'VERSION_ID'} eq $version_id, $failref; - # Test for platform_id - $strip = strip_marks($content{'PLATFORM_ID'}); - rec_log "PLATFORM_ID should be $platform_id and is $strip", $strip eq $platform_id, $failref; - # Test for pretty name $strip = strip_marks($content{'PRETTY_NAME'}); rec_log "PRETTY_NAME should be $pretty and is $strip", $strip eq $pretty, $failref;