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-19 14:40:33 +00:00
|
|
|
upload_logs "/tmp/X.log";
|
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";
|
2015-02-19 14:40:33 +00:00
|
|
|
|
|
|
|
# Upload all ABRT logs
|
|
|
|
type_string "cd /var/tmp/abrt && tar czvf abrt.tar.gz *";
|
|
|
|
upload_logs "/var/tmp/abrt/abrt.tar.gz";
|
2015-02-13 14:08:29 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|
|
|
|
|