mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-11-05 21:41:24 +00:00
26 lines
656 B
Perl
26 lines
656 B
Perl
|
use base "basetest";
|
||
|
use strict;
|
||
|
use testapi;
|
||
|
|
||
|
sub run {
|
||
|
assert_screen "root_logged_in";
|
||
|
type_string "reset; mount /dev/sdb1 /mnt; echo $?";
|
||
|
send_key "ret";
|
||
|
assert_screen "console_command_success";
|
||
|
type_string "reset; cat /mnt/testfile";
|
||
|
send_key "ret";
|
||
|
assert_screen "provided_disk_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 { important => 1 };
|
||
|
}
|
||
|
|
||
|
1;
|
||
|
|
||
|
# vim: set sw=4 et:
|