QA:Yum simple update test case

From FedoraProject

Jump to: navigation, search

Description

A very simple yum update test case


How to test

  1. Install this test package like so:
  2. Run yum update dummy-package

Expected Results

  1. yum downloads and installs dummy-package-2.0
  2. rpm -q dummy-package lists dummy-package-2.0-1.fc11.noarch
  3. /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.