1
0
mirror of https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git synced 2024-11-25 07:13:09 +00:00
os-autoinst-distri-fedora/tests/disk_custom_iscsi_postinstall.pm

25 lines
746 B
Perl
Raw Normal View History

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: