From Fedora Project Wiki

Revision as of 13:54, 7 March 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case is to test dnf5 makecache / clean commands |setup=Install the pre-release version of Fedora 38 |actions= * Install dnf5 using ‘dnf -y install dnf5’ * Run dnf5 clean all. * Run dnf5 makecache * Install any package using dnf5 * Run dnf5 clean metadata * Run dnf5 clean all |results= * Dnf5 is installed * Ensure/var/cache/libdnf5/ is empty * Ensure /var/cache/libdnf5 contains information about repositories and these folders co...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case is to test dnf5 makecache / clean commands

Setup

Install the pre-release version of Fedora 38

How to test

  • Install dnf5 using ‘dnf -y install dnf5’
  • Run dnf5 clean all.
  • Run dnf5 makecache
  • Install any package using dnf5
  • Run dnf5 clean metadata
  • Run dnf5 clean all

Expected Results

  • Dnf5 is installed
  • Ensure/var/cache/libdnf5/ is empty
  • Ensure /var/cache/libdnf5 contains information about repositories and these folders contain repodata
  • Dnf5 installs the package and doesn’t download information about repositories
  • Repositories in /var/cache/libdnf5/ are empty
  • Repository /var/cache/libdnf5 is empty