mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-12-27 12:43:08 +00:00
anaconda: end install immediately if we see the error screen
If install errors out, currently we still wait like an hour for an "install_done" screen that will never come, before we give up. Since we have a needle for the "unknown error has occurred" screen, we may as well use it here - if we see that screen, we can just die immediately. This may go stale if we forget to update the needle, but it's only one line, so meh. Signed-off-by: Adam Williamson <awilliam@redhat.com>
This commit is contained in:
parent
0e6553f4d1
commit
b1e975a21f
@ -90,6 +90,7 @@ sub run {
|
||||
# the screensaver during install...
|
||||
my $interval = 60;
|
||||
while ($timeout > 0) {
|
||||
die "Error encountered!" if (check_screen "anaconda_error_report");
|
||||
# move the mouse a bit
|
||||
mouse_set 100, 100;
|
||||
# also click, if we're a VNC client, seems just moving mouse
|
||||
|
Loading…
Reference in New Issue
Block a user