1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2025-08-10 10:55:44 +00:00

Add print to see value.

This commit is contained in:
Lukáš Růžička 2021-12-01 15:17:33 +01:00
parent 86aa31c5b6
commit c4526fca46

View File

@ -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);