os-autoinst-distri-rocky-mi.../tests/disk_guided_free_space_postinstall.pm

18 lines
337 B
Perl

use base "installedtest";
use strict;
use testapi;
sub run {
assert_screen "root_console";
# check that first partition is intact
assert_script_run 'mount /dev/vda1 /mnt';
validate_script_output 'cat /mnt/testfile', sub { $_ =~ m/Hello, world!/ };
}
sub test_flags {
return {fatal => 1};
}
1;
# vim: set sw=4 et: