mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-27 17:45:44 +00:00
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 <awilliam@redhat.com>
This commit is contained in:
parent
3d84dae071
commit
37338a2325
@ -129,7 +129,6 @@ sub run {
|
|||||||
if (get_var("CANNED")) {
|
if (get_var("CANNED")) {
|
||||||
$version = "$cannedtag ($varstr)";
|
$version = "$cannedtag ($varstr)";
|
||||||
}
|
}
|
||||||
my $platform_id = "platform:f$version_id";
|
|
||||||
my $pretty = "$fullname $version_id ($varstr)";
|
my $pretty = "$fullname $version_id ($varstr)";
|
||||||
# Same problem is when testing the PRETTY_NAME.
|
# Same problem is when testing the PRETTY_NAME.
|
||||||
if (get_var("CANNED")) {
|
if (get_var("CANNED")) {
|
||||||
@ -155,10 +154,6 @@ sub run {
|
|||||||
# Test for version_id
|
# Test for version_id
|
||||||
rec_log "VERSION_ID should be $version_id and is $content{'VERSION_ID'}", $content{'VERSION_ID'} eq $version_id, $failref;
|
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
|
# Test for pretty name
|
||||||
$strip = strip_marks($content{'PRETTY_NAME'});
|
$strip = strip_marks($content{'PRETTY_NAME'});
|
||||||
rec_log "PRETTY_NAME should be $pretty and is $strip", $strip eq $pretty, $failref;
|
rec_log "PRETTY_NAME should be $pretty and is $strip", $strip eq $pretty, $failref;
|
||||||
|
Loading…
Reference in New Issue
Block a user