os-autoinst-distri-rocky/tests
Adam Williamson 248b7a9536 revise storage: better test loading, shared disk selection
Summary:
This contains several tweaks to storage handling. It adds a
method for disk selection which all the storage tests can
share. It sets up a more extensible approach for main.pm to
run the storage tests, instead of an ever-growing forest of
'else' clauses. Finally it sets up a couple of methods for
changing partitioning schemes on the custom part screen and
uses one of them in the software RAID test; the other will
be used for other custom storage tests.

This kills the two_disks needle. I could keep it and work
it into select_disks, but it doesn't fit naturally and I
really just don't see the point of the needle. The only thing
we lose is we don't check that anaconda actually sees two
disks in the 'attach two disks, only install to one' test
(that's server_sata_multi), but the other multi-disk tests
will serve to catch that case failing for some reason.

What I actually intended to do was add some more tests for
different custom part storage types, but it seemed a good
idea to do some of this cleanup so that can be implemented
efficiently. I'll have followups for that.

Test Plan:
Run all tests and ensure they work exactly as
before (not just that they still pass, but that the correct
test steps are actually scheduled in each case.)

Reviewers: garretraziel, jskladan

Reviewed By: garretraziel, jskladan

Subscribers: tflink

Differential Revision: https://phab.qadevel.cloud.fedoraproject.org/D475
2015-07-31 01:31:27 -07:00
..
_boot_to_anaconda.pm wait for anaconda even on live system 2015-07-29 08:16:05 +02:00
_console_wait_login.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
_do_install_and_reboot.pm add a 1 second sleep before begin install 2015-07-22 11:26:10 -07:00
_graphical_wait_login.pm Support for live image testing 2015-03-18 14:28:03 -07:00
_software_selection.pm changes to solve 173 and 167 2015-04-10 10:38:28 +02:00
disk_custom_software_raid_postinstall.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_custom_software_raid.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_guided_delete_all.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_guided_delete_partial_postinstall.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
disk_guided_delete_partial.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_guided_empty.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_guided_encrypted_postinstall.pm Disk guided encrypted 2015-02-04 17:16:21 +01:00
disk_guided_encrypted.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_guided_free_space_postinstall.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
disk_guided_multi_empty_all_postinstall.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
disk_guided_multi_empty_all.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
disk_guided_multi_postinstall.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
disk_guided_multi.pm revise storage: better test loading, shared disk selection 2015-07-31 01:31:27 -07:00
install_source_graphical.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
install_source_variation.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
upgrade_postinstall_desktop.pm add fedup desktop test 2015-07-17 12:52:56 +02:00
upgrade_postinstall_minimal.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
upgrade_preinstall.pm create fedora base class, factor out console login 2015-07-22 11:24:40 -07:00
upgrade_run.pm add fedup desktop test 2015-07-17 12:52:56 +02:00