From Fedora Project Wiki
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
|results= | |results= | ||
* Dnf5 is installed | * Dnf5 is installed | ||
* Ensure/var/cache/libdnf5/ is empty | * Ensure /var/cache/libdnf5/ is empty | ||
* Ensure /var/cache/libdnf5 contains information about repositories and these folders contain repodata | * Ensure /var/cache/libdnf5/ contains information about repositories and these folders contain repodata | ||
* Dnf5 installs the package and doesn’t download information about repositories | * Dnf5 installs the package and doesn’t download information about repositories | ||
* Repositories in /var/cache/libdnf5/ are empty | * Repositories in /var/cache/libdnf5/ are empty | ||
* Repository /var/cache/libdnf5 is empty | * Repository /var/cache/libdnf5/ is empty | ||
}} | }} |
Latest revision as of 09:58, 14 March 2023
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
sudo dnf -y install dnf5
- Run
sudo dnf5 clean all
- Run
sudo dnf5 makecache
- Install any package using dnf5
- Run
sudo dnf5 clean metadata
- Run
sudo 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