diff --git a/lib/utils.pm b/lib/utils.pm index 7f1b2db6..f9d07799 100644 --- a/lib/utils.pm +++ b/lib/utils.pm @@ -1466,7 +1466,7 @@ sub download_testdata { sub desktop_login { my ($login, $password) = @_; # Get the version, so that we can handle G-I-S or Gnome Tour. - my $release = get_var("VERSION"); + my $release = get_release_number; # For Upgrade tests we will need to handle older releases, so we # fix the version number accordingly if (get_var("GUI_UPGRADE") == 1) { @@ -1475,6 +1475,7 @@ sub desktop_login { elsif (get_var("GUI_UPGRADE") == 2) { $release = $release-2; } + print("Calculated release: $release"); # For Gnome desktop if (get_var("DESKTOP") eq 'gnome') { send_key_until_needlematch("graphical_login_input", "ret", 3, 5);