2019-07-10 08:47:10 +00:00
|
|
|
use base "installedtest";
|
|
|
|
use strict;
|
|
|
|
use testapi;
|
|
|
|
use utils;
|
|
|
|
sub run {
|
2023-02-12 22:59:37 +00:00
|
|
|
my $self = shift;
|
2019-07-10 08:47:10 +00:00
|
|
|
# switch to tty and login as root
|
2023-02-12 22:59:37 +00:00
|
|
|
$self->root_console(tty => 3);
|
2019-07-10 08:47:10 +00:00
|
|
|
|
|
|
|
# Download the testing script
|
|
|
|
download_modularity_tests('whitelist');
|
|
|
|
|
|
|
|
# Test if modules have default stream and profile defined.
|
|
|
|
assert_script_run('/root/test.py -a checkdefaults -w whitelist');
|
|
|
|
|
|
|
|
# Upload modular logs
|
2023-02-12 22:59:37 +00:00
|
|
|
upload_logs '/root/modular.log', failok => 1;
|
2019-07-10 08:47:10 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
1;
|
|
|
|
|
|
|
|
# vim: set sw=4 et:
|