From Fedora Project Wiki
(first version) |
(add to Category:Rawhide Acceptance Test Cases) |
||
Line 14: | Line 14: | ||
You may now <code>yum erase dummy-package</code> if you wish. | You may now <code>yum erase dummy-package</code> if you wish. | ||
}} | }} | ||
[[Category:Rawhide Acceptance Test Cases]] |
Latest revision as of 20:42, 13 July 2009
Description
A very simple yum update
test case
How to test
- Install this test package like so:
rpm -ivh http://wwoods.fedorapeople.org/yum-simple-test/dummy-package-1.0-1.fc11.noarch.rpm
- The package contains only one file, which configures the repo at http://wwoods.fedorapeople.org/yum-simple-test
- Run
yum update dummy-package
Expected Results
yum
downloads and installs dummy-package-2.0rpm -q dummy-package
listsdummy-package-2.0-1.fc11.noarch
/etc/yum.repos.d/dummy-package.repo
contains a line that says:
# dummy package 2.0
You may now yum erase dummy-package
if you wish.