mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-23 05:31:29 +00:00
1475813b75
* Add test to check module defaults. * Add whitelist download. * Fix install test to include selected profile to be on the safe side. * Add test into templates.
23 lines
478 B
Perl
23 lines
478 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
sub run {
|
|
my $self=shift;
|
|
# switch to tty and login as root
|
|
$self->root_console(tty=>3);
|
|
|
|
# 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
|
|
upload_logs '/root/modular.log', failok=>1;
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|