From Fedora Project Wiki
(First version) |
No edit summary |
||
Line 2: | Line 2: | ||
|description=This test verifies basic yum functionality including searching, installing, updating, removing, and group functions. | |description=This test verifies basic yum functionality including searching, installing, updating, removing, and group functions. | ||
|actions= | |actions= | ||
# Ensure you have yum installed with: | # Ensure you have yum installed with: {{command|rpm -q yum}} | ||
# Search for a package: | # Search for a package: {{command|yum search ksh}} | ||
# List a package: | # List a package: {{command|yum list ksh}} | ||
# Install a package: | # Install a package: {{command|rpm -e ksh; yum install ksh}} | ||
# Upgrade a package: | # Upgrade a package: {{command| rpm -e ksh; rpm -ivh ksh-<old_version>.rpm; yum update ksh}} | ||
# Remove a package: | # Remove a package: {{command|yum remove ksh}} | ||
# Group list: | # Group list: {{command|yum grouplist}} | ||
# Group install: | # Group install: {{command|yum groupinstall <some group>}} | ||
# Group upgrade: | # Group upgrade: {{command|yum groupupgrade <some group>}} | ||
# Group remove: | # Group remove: {{command|yum groupremove <some group>}} | ||
|results= | |results= | ||
# All commands above should finish as expected. There should not be a traceback. | # All commands above should finish as expected. There should not be a traceback. | ||
}} | }} | ||
[[Category:Yum_Test_Cases]] | [[Category:Yum_Test_Cases]] |
Revision as of 22:16, 1 July 2011
Description
This test verifies basic yum functionality including searching, installing, updating, removing, and group functions.
How to test
- Ensure you have yum installed with:
rpm -q yum
- Search for a package:
yum search ksh
- List a package:
yum list ksh
- Install a package:
rpm -e ksh; yum install ksh
- Upgrade a package:
rpm -e ksh; rpm -ivh ksh-<old_version>.rpm; yum update ksh
- Remove a package:
yum remove ksh
- Group list:
yum grouplist
- Group install:
yum groupinstall <some group>
- Group upgrade:
yum groupupgrade <some group>
- Group remove:
yum groupremove <some group>
Expected Results
- All commands above should finish as expected. There should not be a traceback.