From Fedora Project Wiki
(Write the page) |
(Add the category) |
||
Line 13: | Line 13: | ||
# The second command should have built new <code>fedpkg</code> packages locally, in a mock chroot. The packages should be somewhere in <code>results_fedpkg</code>. | # The second command should have built new <code>fedpkg</code> packages locally, in a mock chroot. The packages should be somewhere in <code>results_fedpkg</code>. | ||
}} | }} | ||
[[Category:Package_fedpkg_test_cases]] |
Revision as of 10:02, 2 June 2015
Description
This test case tests whether downloading the upstream sources for a Fedora package works properly.
Setup
- Install the
fedpkg
package. - Set up your mock building environment, as detailed in the mock documentation
How to test
- In your favourite terminal application, run the following commands:
$ fedpkg clone -a fedpkg && cd fedpkg
$ fedpkg mockbuild
- You can now remove the
fedpkg
folder.
Expected Results
- The first command should have cloned the
fedpkg
git repository and entered it. - The second command should have built new
fedpkg
packages locally, in a mock chroot. The packages should be somewhere inresults_fedpkg
.