mirror of
https://pagure.io/fedora-qa/os-autoinst-distri-fedora.git
synced 2024-11-03 15:04:22 +00:00
2b88e8b4d3
Summary: With the previous change to the server_(sata)_multi test, we need to adjust the post-install test to use vdb not sdb, the disks are virtIO now (not PATA as they were with 4.2) Test Plan: Check the server_multi test actually completes properly now Reviewers: garretraziel, jskladan Reviewed By: jskladan Subscribers: tflink Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D732
23 lines
593 B
Perl
23 lines
593 B
Perl
use base "installedtest";
|
|
use strict;
|
|
use testapi;
|
|
|
|
sub run {
|
|
assert_screen "root_console";
|
|
# check that second disk is intact
|
|
assert_script_run 'mount /dev/vdb1 /mnt';
|
|
validate_script_output 'cat /mnt/testfile', sub { $_ =~ m/Hello, world!/ };
|
|
}
|
|
|
|
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:
|