1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-14 10:44:22 +00:00
os-autoinst-distri-fedora/tests/modularity_checkdefaults.pm
Adam Williamson 1a65993d36 Add a perltidy check and apply it to the entire codebase
Signed-off-by: Adam Williamson <awilliam@redhat.com>
2022-07-28 14:38:38 -07:00

23 lines
484 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: