QA:Yum simple update test case
From FedoraProject
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
-
yumdownloads and installs dummy-package-2.0 -
rpm -q dummy-packagelistsdummy-package-2.0-1.fc11.noarch -
/etc/yum.repos.d/dummy-package.repocontains a line that says:
# dummy package 2.0
You may now yum erase dummy-package if you wish.