mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-24 06:43:08 +00:00
use lowercase $VERSION for upgrade version check
Summary: For Rawhide, the text in os-release-fedora is 'rawhide' not 'Rawhide', so lc the $VERSION value when checking. For other releases it's digits, so the lc won't change anything - lc('23') is '23'. Test Plan: Run the Rawhide upgrade tests, they should succeed. Reviewers: jskladan, garretraziel Reviewed By: garretraziel Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D620
This commit is contained in:
parent
676175023d
commit
2f1216c3b0
@ -19,7 +19,7 @@ sub run {
|
||||
assert_screen "graphical_desktop_clean", 30;
|
||||
# check an upgrade actually happened (and we can log into a console)
|
||||
$self->root_console(tty=>3);
|
||||
$self->check_release(get_var('VERSION'));
|
||||
$self->check_release(lc(get_var('VERSION')));
|
||||
}
|
||||
|
||||
|
||||
|
@ -9,7 +9,7 @@ sub run {
|
||||
# try to login, check whether target release is installed
|
||||
$self->boot_to_login_screen();
|
||||
$self->root_console(tty=>3);
|
||||
$self->check_release(get_var('VERSION'));
|
||||
$self->check_release(lc(get_var('VERSION')));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user