From Fedora Project Wiki

(Start the page)
 
(Make it an rpkg test case as well, because fedpkg depends on rpkg)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{QA/Test_Case
|description=This test case tests whether downloading the upstream sources for a Fedora package works properly.
|setup=
# Install the <code>fedpkg</code> package.
|actions=
# In your favourite terminal application, run the following commands:
#: {{command|$ fedpkg clone -a fedpkg && cd fedpkg}}
#: {{command|$ fedpkg sources}}
# You can now remove the <code>fedpkg</code> folder.
|results=
# The first command should have cloned the <code>fedpkg</code> git repository and entered it.
# The second command should have downloaded at least one file: the source tarball for the latest <code>fedpkg</code> build. It should be something like <code>fedpkg-1.20.tar.bz2</code>. (version or compression format might vary)
}}
[[Category:Package_fedpkg_test_cases]]
[[Category:Package_fedpkg_test_cases]]
[[Category:Package_rpkg_test_cases]]

Latest revision as of 16:27, 2 June 2015

Description

This test case tests whether downloading the upstream sources for a Fedora package works properly.

Setup

  1. Install the fedpkg package.

How to test

  1. In your favourite terminal application, run the following commands:
    $ fedpkg clone -a fedpkg && cd fedpkg
    $ fedpkg sources
  2. You can now remove the fedpkg folder.

Expected Results

  1. The first command should have cloned the fedpkg git repository and entered it.
  2. The second command should have downloaded at least one file: the source tarball for the latest fedpkg build. It should be something like fedpkg-1.20.tar.bz2. (version or compression format might vary)