mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-28 18:15:45 +00:00
Fix variable assignment.
This commit is contained in:
parent
c62eea07ad
commit
4b9ab45601
@ -1466,14 +1466,14 @@ sub download_testdata {
|
|||||||
sub desktop_login {
|
sub desktop_login {
|
||||||
my ($login, $password) = @_;
|
my ($login, $password) = @_;
|
||||||
# Get the version, so that we can handle G-I-S or Gnome Tour.
|
# Get the version, so that we can handle G-I-S or Gnome Tour.
|
||||||
my $version = get_var("VERSION");
|
my $release = get_var("VERSION");
|
||||||
# For Upgrade tests we will need to handle older releases, so we
|
# For Upgrade tests we will need to handle older releases, so we
|
||||||
# fix the version number accordingly
|
# fix the version number accordingly
|
||||||
if (get_var("GUI_UPGRADE") == 1) {
|
if (get_var("GUI_UPGRADE") == 1) {
|
||||||
my $release = $version-1;
|
$release = $release-1;
|
||||||
}
|
}
|
||||||
elsif (get_var("GUI_UPGRADE") == 2) {
|
elsif (get_var("GUI_UPGRADE") == 2) {
|
||||||
my $release = $version-2;
|
$release = $release-2;
|
||||||
}
|
}
|
||||||
# For Gnome desktop
|
# For Gnome desktop
|
||||||
if (get_var("DESKTOP") eq 'gnome') {
|
if (get_var("DESKTOP") eq 'gnome') {
|
||||||
|
Loading…
Reference in New Issue
Block a user