From Fedora Project Wiki

Revision as of 13:55, 7 March 2023 by Sumantrom (talk | contribs) (Created page with "{{QA/Test_Case |description=This test case is to test dnf5 distro-sync / dsync commands |setup=Install the pre-release version of Fedora 38 |actions= * Install dnf5 using ‘dnf -y install dnf5’ * Downgrade a package to a lower release than the one available in repo using ‘dnf5 downgrade <package_name> --releasever=37 * Upgrade another package to a higher release than the one in repo using ‘dnf5 install fedora-repos-rawhide’ and ‘dnf5 upgrade <package_name>...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Description

This test case is to test dnf5 distro-sync / dsync commands

Setup

Install the pre-release version of Fedora 38

How to test

  • Install dnf5 using ‘dnf -y install dnf5’
  • Downgrade a package to a lower release than the one available in repo using ‘dnf5 downgrade <package_name> --releasever=37
  • Upgrade another package to a higher release than the one in repo using ‘dnf5 install fedora-repos-rawhide’ and ‘dnf5 upgrade <package_name> –enablerepo=rawhide’
  • Synchronise your packages with packages in repos using ‘dnf5 distro-sync’

Expected Results

  • Dnf5 package is installed successfully
  • Packages get downgraded/upgraded to match their current versions in repository
  • Repeated use of ‘dnf5 distro-sync’ doesn’t do any transaction