From Fedora Project Wiki
(Write a test case for system update.) |
m (Delete versions and gnome terminal.) |
||
Line 2: | Line 2: | ||
|description=This test case proves that a modular system can be correctly updated or upgraded. | |description=This test case proves that a modular system can be correctly updated or upgraded. | ||
|setup=To test this feature: | |setup=To test this feature: | ||
# Install a '''clean''' Fedora | # Install a '''clean''' Fedora. | ||
# 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. | # 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. | ||
|actions= | |actions= | ||
# Open a terminal session, either use | # Open a terminal session, either use terminal or a virtual console. | ||
# List installed modules using <code>dnf module list --installed</code> in order to find out which module stream and profile you are using. | # List installed modules using <code>dnf module list --installed</code> in order to find out which module stream and profile you are using. | ||
# When updating the system: | # When updating the system: |
Latest revision as of 11:26, 11 March 2019
Description
This test case proves that a modular system can be correctly updated or upgraded.
Setup
To test this feature:
- Install a clean Fedora.
- 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 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.