From Fedora Project Wiki

(Add some trivial testing.)
(Improve the test)
Line 5: Line 5:
|actions=
|actions=
# In your favourite terminal application, run the following commands:
# In your favourite terminal application, run the following commands:
#: {{command|$ fedpkg clone -a fedpkg}}
#: {{command|$ fedpkg clone -a fedpkg && cd fedpkg && ls && cd ..}}
|results=
|results=
# You should have a local clone of the <code>fedpkg</code> distgit repository.
# The command should list the files in the cloned <code>fedpkg</code> git repository. There should be at least the following files:
* <code>fedpkg.spec</code>
* <code>sources</code>
}}
}}


[[Category:Package_fedpkg_test_cases]]
[[Category:Package_fedpkg_test_cases]]

Revision as of 09:32, 2 June 2015

Description

This test case tests whether cloning a distgit repository 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 && ls && cd ..

Expected Results

  1. The command should list the files in the cloned fedpkg git repository. There should be at least the following files:
  • fedpkg.spec
  • sources