From Fedora Project Wiki

(First version)
 
(add a warning)
 
Line 1: Line 1:
{{admon/warning| Testing in production systems | This test will keep your system in inconsistent state, please don't use this on a production system}}
{{QA/Test_Case
{{QA/Test_Case
|description=This test case tests Apache HTTPd Web server and some modules like mod_php and mod_ssl.
|description=This test case tests Apache HTTPd Web server and some modules like mod_php and mod_ssl.

Latest revision as of 16:44, 9 July 2011

Warning.png
Testing in production systems
This test will keep your system in inconsistent state, please don't use this on a production system


Description

This test case tests Apache HTTPd Web server and some modules like mod_php and mod_ssl.

Setup

  1. Ensure the Package-x-generic-16.pnggit package is installed.

How to test

  1. Run the following commands:
git clone git://fedorapeople.org/home/fedora/athmane/public_git/testcases-scripts.git
cd testcases-scripts/httpd/
./runtests.sh

Expected Results

  1. All tests should not fail, here an example of the output:
./runtests.sh 
Starting httpd (via systemctl):                            [  OK  ]
Running ./httpd_basic_auth.sh - httpd basic authentication test.
Adding password for user test
Reloading httpd configuration (via systemctl):             [  OK  ]
==> [ PASS ]
Running ./httpd_php.sh - httpd handle PHP test
==> [ PASS ]
Running ./httpd_servehtml.sh - httpd serve html page test.
==> [ PASS ]
Running ./httpd_servehtml_ssl.sh - httpd serve html page test over SSL.
==> [ PASS ]
Running ./httpd_vhost.sh - httpd virtual host test.
Reloading httpd configuration (via systemctl):             [  OK  ]
==> [ PASS ]