From Fedora Project Wiki
(Start the page) |
(Make it an rpkg test case as well, because fedpkg depends on rpkg) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | |||
|description=This test case tests whether cloning a distgit repository works properly. | |||
|setup= | |||
# Install the <code>fedpkg</code> package. | |||
# If you are a Fedora packager, set up your packaging environment (SSH keys, SSL certs, ...) | |||
|actions= | |||
# In your favourite terminal application, run the following commands: | |||
#: {{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> and <code>rpkg</code> folders. | |||
|results= | |||
# 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>sources</code> | |||
# As for the second command: | |||
## If you are not a Fedora packager or your packaging environment is not set up, it must have failed. | |||
## If you are a Fedora packager and your packaging environment is set up, it 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> | |||
}} | |||
[[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 cloning a distgit repository works properly.
Setup
- Install the
fedpkg
package. - If you are a Fedora packager, set up your packaging environment (SSH keys, SSL certs, ...)
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
andrpkg
folders.
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
- As for the second command:
- If you are not a Fedora packager or your packaging environment is not set up, it must have failed.
- If you are a Fedora packager and your packaging environment is set up, it should list the files in the cloned
rpkg
git repository. There should be at least the following files:rpkg.spec
sources