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=Optionally include information on preparing the test environment
|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=
Be as specific as required for the target audience.  
# For every package tested examine the file ''Makefile'' located in the appropriate directory and install all packages that are mentioned in the ''Requires: ...'' lines.
# Start here ...
# Run ''runtest.sh''.
# Next do this ...
# 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>.
# Finally click that
|results=
|results=
The following must be true to consider this a successful test run. Be brief ... but explicit.  
# The output must not report any failures.
# Step #1 completes without error
# The system boots into runlevel 5
# Program completes wth exit code 0
}}
}}


[[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

  1. For every package tested examine the file Makefile located in the appropriate directory and install all packages that are mentioned in the Requires: ... lines.
  2. Run runtest.sh.
  3. 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

  1. The output must not report any failures.