From Fedora Project Wiki
(WIP) |
No edit summary |
||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=A test that ensures that init scripts contained in Fedora packages are LSB compliant. | |description=A test that ensures that init scripts contained in Fedora packages are LSB compliant. | ||
|setup= | |setup=The Fedora release installed on the host machine must match the Fedora release the tested package was built for. For every package tested the host machine must have appropriate tests available - they can be downloaded from [http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=tests/initscripts/tests AutoQA source code]. | ||
|actions= | |actions= | ||
# For every package tested examine the file ''Makefile'' located in the appropriate directory and install all packages that are mentioned in the ''Requires: ...'' lines. | |||
# Run ''runtest.sh''. | |||
# | # Example: For the ''openssh'' package the Requires lines in the Makefile mention ''openssh'' and ''initscripts'' packages. So we install them. After that from the same directory we run <code>./runtest.sh</code>. | ||
# | |||
|results= | |results= | ||
The | # The output must not report any failures. | ||
}} | }} | ||
[[Category:Package Update Acceptance Test Cases]] | [[Category:Package Update Acceptance Test Cases]] |
Latest revision as of 11:31, 19 May 2010
Description
A test that ensures that init scripts contained in Fedora packages are LSB compliant.
Setup
The Fedora release installed on the host machine must match the Fedora release the tested package was built for. For every package tested the host machine must have appropriate tests available - they can be downloaded from AutoQA source code.
How to test
- For every package tested examine the file Makefile located in the appropriate directory and install all packages that are mentioned in the Requires: ... lines.
- Run runtest.sh.
- Example: For the openssh package the Requires lines in the Makefile mention openssh and initscripts packages. So we install them. After that from the same directory we run
./runtest.sh
.
Expected Results
- The output must not report any failures.