os-autoinst-distri-fedora/lib/anacondalog.pm

23 lines
468 B
Perl
Raw Normal View History

2015-02-13 14:08:29 +00:00
package anacondalog;
use base 'basetest';
use testapi;
sub post_fail_hook {
my $self = shift;
send_key "ctrl-alt-f2";
if (check_screen "anaconda_console", 10) {
2015-02-13 15:36:35 +00:00
upload_logs "/tmp/X.log"; # TODO: it can't type "X"
2015-02-13 14:08:29 +00:00
upload_logs "/tmp/anaconda.log";
upload_logs "/tmp/packaging.log";
upload_logs "/tmp/storage.log";
upload_logs "/tmp/syslog";
upload_logs "/tmp/program.log";
}
}
1;
# vim: set sw=4 et: