mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-27 15:36:26 +00:00
23 lines
403 B
Perl
23 lines
403 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
use utils;
|
|
|
|
sub run {
|
|
my $self = shift;
|
|
unless (check_screen "root_console", 0) {
|
|
$self->root_console(tty => 4);
|
|
}
|
|
assert_screen "root_console";
|
|
# check that RAID is used
|
|
assert_script_run "cat /proc/mdstat | grep 'Personalities : \\\[raid1\\\]'";
|
|
}
|
|
|
|
sub test_flags {
|
|
return {fatal => 1};
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|