mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-16 19:53:09 +00:00
1a65993d36
Signed-off-by: Adam Williamson <awilliam@redhat.com>
19 lines
349 B
Perl
19 lines
349 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
sub run {
|
|
assert_screen "root_console";
|
|
# mount first partition and check that it's 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:
|