From Fedora Project Wiki

Description

This test case ensures that the basesystem package correctly defines and installs its core dependencies, providing a minimal environment.

Setup

  1. Ensure you have a Fedora system.
  2. Install a minimal environment, or start with a fresh installation.

How to test

  1. Open a terminal.
  2. Install the basesystem package if not already installed: sudo dnf install basesystem.
  3. Check the dependencies of the basesystem package: dnf repoquery --requires basesystem.
  4. Validate that essential packages (like filesystem, bash, etc.) are listed as dependencies.
  5. Ensure all dependencies are correctly installed: sudo dnf install $(dnf repoquery --requires basesystem).
  6. Boot the system or create a chroot environment and ensure it operates as a minimal functional environment.

Expected Results

  1. The basesystem package should list essential packages as its dependencies.
  2. There should be no missing or broken dependencies when attempting to install them.
  3. The system or chroot environment, when only containing the basesystem and its dependencies, should be functional at a minimal level (e.g., you can boot to a command prompt and basic commands work).

Optional

For deeper testing:

  1. Remove non-essential packages from the system and ensure the system remains operational with just the basesystem and its dependencies.
  2. Check how other software or systems interact with this minimal environment.
  3. Attempt to install various software packages in this minimal environment to see if they function as expected.