mirror of
https://github.com/rocky-linux/os-autoinst-distri-rocky.git
synced 2024-12-01 17:26:26 +00:00
25 lines
746 B
Perl
25 lines
746 B
Perl
|
use base "installedtest";
|
||
|
use strict;
|
||
|
use testapi;
|
||
|
|
||
|
sub run {
|
||
|
assert_screen "root_console";
|
||
|
# check we have a node for the target. realistically speaking we
|
||
|
# don't need a lot of checking here, it seems extremely unlikely
|
||
|
# that the system could ever actually boot unless everything is
|
||
|
# working.
|
||
|
assert_script_run "test -d '/var/lib/iscsi/nodes/iqn.2016-06.local.domain:support.target1'";
|
||
|
}
|
||
|
|
||
|
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:
|