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 30 or newer.  
# 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 '''gnome-terminal''' or a virtual console.
# 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:

  1. Install a clean Fedora.
  2. 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

  1. Open a terminal session, either use terminal or a virtual console.
  2. List installed modules using dnf module list --installed in order to find out which module stream and profile you are using.
  3. When updating the system:
    1. Update the system using dnf update.
  4. When upgrading the system:
    1. Upgrade the system following the procedure in in this test case.
  5. Reboot the computer.
  6. List the enabled modules dnf module list --enabled.
  7. List the installed modules dnf module list --installed.

Expected Results

The following requirements must be met:

  1. All commands must run without errors.
  2. Depending on the procedure, the system is up-to-date or upgraded.
  3. The installed module must still be listed in both --enabled and --installed lists.
  4. 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.
  5. The installed modules must not be removed during update or system upgrade.