1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 18:53:12 +00:00

Update comments.

This commit is contained in:
Lukas Ruzicka 2018-06-29 12:35:01 +02:00
parent 3bb3a0aefb
commit 3c6cf1c3bf
2 changed files with 5 additions and 1 deletions

View File

@ -25,7 +25,8 @@ sub run {
} }
$wait_time = 300; $wait_time = 300;
} }
# Wait for the login screen unless it is not already booted # Wait for the login screen. If the machine is already booted, then skip this test
# and proceed to log in the system and click through the set up.
unless (get_var("ASSUME_BOOT") == 1) { unless (get_var("ASSUME_BOOT") == 1) {
boot_to_login_screen(timeout => $wait_time); boot_to_login_screen(timeout => $wait_time);
} }

View File

@ -25,6 +25,9 @@ sub run {
my $update_command = 'dnf -y install dnf-plugin-system-upgrade'; my $update_command = 'dnf -y install dnf-plugin-system-upgrade';
assert_script_run $update_command, 600; assert_script_run $update_command, 600;
# I want to use this test in a suite where it is not followed by a console based module,
# but rather a graphical screen. Therefore, if a booted system with login screen
# is required, switch to graphical terminal.
if (get_var("ASSUME_BOOT",0) == 1) { if (get_var("ASSUME_BOOT",0) == 1) {
desktop_vt; desktop_vt;
} }