mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-18 17:18:30 +00:00
24 lines
568 B
Perl
24 lines
568 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
sub run {
|
|
my $self=shift;
|
|
my $hook_run = 0;
|
|
# switch to tty and login as root
|
|
$self->root_console(tty=>3);
|
|
|
|
# Download the testing script
|
|
download_modularity_tests();
|
|
|
|
# Check that modularity works and that a particular module is available in the system.
|
|
assert_script_run('/root/test.py -m dwm -s 6.0 -a list');
|
|
|
|
# Check that module can be enabled and disabled.
|
|
assert_script_run('/root/test.py -m dwm -s 6.0 -a enable,disable -f hard');
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|