From Fedora Project Wiki

(Typo)
(Add a note for Fedora packagers)
Line 3: Line 3:
|setup=
|setup=
# Install the <code>fedpkg</code> package.
# Install the <code>fedpkg</code> package.
# If you are a Fedora packager, set up your packaging environment (SSH keys, SSL certs, ...)
|actions=
|actions=
# In your favourite terminal application, run the following commands:
# In your favourite terminal application, run the following commands:

Revision as of 09:38, 2 June 2015

Description

This test case tests whether cloning a distgit repository works properly.

Setup

  1. Install the fedpkg package.
  2. If you are a Fedora packager, set up your packaging environment (SSH keys, SSL certs, ...)

How to test

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

Expected Results

  1. The first command should list the files in the cloned fedpkg git repository. There should be at least the following files:
    1. fedpkg.spec
    2. sources
  2. The second command should list the files in the cloned rpkg Git repository. There should be at least the following files:
    1. rpkg.spec
    2. sources