Make sure that the disk post installs run in a shell
it happens that the previous test ends in the GUI
This commit is contained in:
parent
d307716472
commit
af677c8f9c
@ -1,8 +1,13 @@
|
||||
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";
|
||||
my $devboot = 'vda1';
|
||||
|
||||
|
@ -1,8 +1,13 @@
|
||||
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 lvmthinpool is present:
|
||||
# http://atodorov.org/blog/2015/04/14/how-to-find-if-lvm-volume-is-thinly-provisioned/
|
||||
|
@ -1,8 +1,13 @@
|
||||
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\\\]'";
|
||||
|
@ -1,8 +1,13 @@
|
||||
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";
|
||||
my $count = 4;
|
||||
my $devroot = 'vda1';
|
||||
|
Loading…
Reference in New Issue
Block a user