From Fedora Project Wiki
(Clean up) |
(Add instructios for authenticated clone) |
||
Line 6: | Line 6: | ||
# In your favourite terminal application, run the following commands: | # In your favourite terminal application, run the following commands: | ||
#: {{command|$ fedpkg clone -a fedpkg && cd fedpkg && ls && cd ..}} | #: {{command|$ fedpkg clone -a fedpkg && cd fedpkg && ls && cd ..}} | ||
#: {{command|$ fedpkg clone rpkg && cd rpkg && ls && cd ..}} | |||
# You can now remove the <code>fedpkg</code> folder. | # You can now remove the <code>fedpkg</code> folder. | ||
|results= | |results= | ||
# The command should list the files in the cloned <code>fedpkg</code> git repository. There should be at least the following files: | # The first 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>fedpkg.spec</code> | ||
## <code>sources</code> | |||
# The second command should list the files in the cloned <code>rpkg</code> Git repository. There should be at least the following files: | |||
## <code>rpkg.spec</code> | |||
## <code>sources</code> | ## <code>sources</code> | ||
}} | }} | ||
[[Category:Package_fedpkg_test_cases]] | [[Category:Package_fedpkg_test_cases]] |
Revision as of 09:36, 2 June 2015
Description
This test case tests whether cloning a distgit repository works properly.
Setup
- Install the
fedpkg
package.
How to test
- In your favourite terminal application, run the following commands:
$ fedpkg clone -a fedpkg && cd fedpkg && ls && cd ..
$ fedpkg clone rpkg && cd rpkg && ls && cd ..
- You can now remove the
fedpkg
folder.
Expected Results
- The first command should list the files in the cloned
fedpkg
git repository. There should be at least the following files:fedpkg.spec
sources
- The second command should list the files in the cloned
rpkg
Git repository. There should be at least the following files:rpkg.spec
sources