mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2025-08-12 19:35:48 +00:00
Add print to see value.
This commit is contained in:
parent
86aa31c5b6
commit
c4526fca46
@ -1466,7 +1466,7 @@ 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 $release = get_var("VERSION");
|
my $release = get_release_number;
|
||||||
# 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) {
|
||||||
@ -1475,6 +1475,7 @@ sub desktop_login {
|
|||||||
elsif (get_var("GUI_UPGRADE") == 2) {
|
elsif (get_var("GUI_UPGRADE") == 2) {
|
||||||
$release = $release-2;
|
$release = $release-2;
|
||||||
}
|
}
|
||||||
|
print("Calculated release: $release");
|
||||||
# For Gnome desktop
|
# For Gnome desktop
|
||||||
if (get_var("DESKTOP") eq 'gnome') {
|
if (get_var("DESKTOP") eq 'gnome') {
|
||||||
send_key_until_needlematch("graphical_login_input", "ret", 3, 5);
|
send_key_until_needlematch("graphical_login_input", "ret", 3, 5);
|
||||||
|
Loading…
Reference in New Issue
Block a user