Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add verification modules for autoyast_lvm
- Loading branch information
Showing
3 changed files
with
107 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# SUSE's openQA tests | ||
# | ||
# Copyright © 2020 SUSE LLC | ||
# | ||
# Copying and distribution of this file, with or without modification, | ||
# are permitted in any medium without royalty provided the copyright | ||
# notice and this notice are preserved. This file is offered as-is, | ||
# without any warranty. | ||
# | ||
# Summary: Verify lvm partitions after autoyast installation | ||
# Maintainer: qa-sle-yast <qa-sle-yast@suse.com> | ||
|
||
use strict; | ||
use warnings; | ||
use parent 'installbasetest'; | ||
use testapi; | ||
use scheduler 'get_test_suite_data'; | ||
|
||
sub run { | ||
my $test_data = get_test_suite_data(); | ||
my $vg = $test_data->{lvm}->{vg}; | ||
assert_script_run("vgdisplay $vg"); | ||
foreach my $lv (@{$test_data->{lvm}->{lvs}}) { | ||
assert_script_run("lvdisplay /dev/$vg/$lv"); | ||
} | ||
} | ||
|
||
1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters