From Fedora Project Wiki
Description
This test case proves that a modular system can be correctly updated or upgraded.
Setup
To test this feature:
- Install a clean Fedora 30 or newer.
- Install one or more modules from the list of available modules, but choose a non-default stream and profile. You can use Installation testcase as a prerequisite.
How to test
- Open a terminal session, either use gnome-terminal or a virtual console.
- List installed modules using
dnf module list --installed
in order to find out which module stream and profile you are using. - When updating the system:
- Update the system using
dnf update
.
- Update the system using
- When upgrading the system:
- Upgrade the system following the procedure in in this test case.
- Reboot the computer.
- List the enabled modules
dnf module list --enabled
. - List the installed modules
dnf module list --installed
.
Expected Results
The following requirements must be met:
- All commands must run without errors.
- Depending on the procedure, the system is up-to-date or upgraded.
- The installed module must still be listed in both --enabled and --installed lists.
- The installed modules must still be installed using the same stream as it did before the operation. For example, if nodejs:8 was installed on the system, the updated or upgraded system must still have nodejs:8 installed, however the versions can be replaced by newer version if such version appears in the selected stream.
- The installed modules must not be removed during update or system upgrade.