QA:Testcase HTTPd

From FedoraProject

Revision as of 16:44, 9 July 2011 by Athmane (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Warning (medium size).png
Testing in production systems
This test will keep your system in inconsistent state, please don't use this on a production system


Contents

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 ]