mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-21 21:43:08 +00:00
e000209967
Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D481
27 lines
723 B
Perl
27 lines
723 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
sub run {
|
|
assert_screen "root_console";
|
|
# mount second partition and check that it's intact
|
|
type_string 'reset; mount /dev/vda2 /mnt; echo $?';
|
|
send_key "ret";
|
|
assert_screen "console_command_success";
|
|
type_string 'reset; cat /mnt/testfile';
|
|
send_key "ret";
|
|
assert_screen "provided_second_partition_intact";
|
|
}
|
|
|
|
sub test_flags {
|
|
# without anything - rollback to 'lastgood' snapshot if failed
|
|
# 'fatal' - whole test suite is in danger if this fails
|
|
# 'milestone' - after this test succeeds, update 'lastgood'
|
|
# 'important' - if this fails, set the overall state to 'fail'
|
|
return { fatal => 1 };
|
|
}
|
|
|
|
1;
|
|
|
|
# vim: set sw=4 et:
|