Functional Verification Test for lsb-apache

Install & Setup

  1. Download the lsb-apache application package that corresponds to the LSB version and processor architecture for which certification is being sought from the FTP site or via HTTP.
  2. Install package on system. Example command line:
  3. rpm -ivh lsb-apache-2.0.43-1.i486.rpm
    
    NOTE: Application MUST be installed without use of --nodeps option

    - Expected result: application should be installed to
    /opt/lsb-apache
    /var/opt/lsb-apache
    /etc/opt/lsb-apache
    
  4. If the system under test is already running a webserver listening on the standard port (80), stop it before proceeding with the FVT.
  5. Run the command: grep "^nobody" /etc/passwd

  6. - Expected result: Output shows user "nobody" already exists. If it is not present on the system, run the command: "useradd nobody" to create the nobody user.
  7. Run the command: grep "^nobody" /etc/group

  8. - Expected result: Output shows group "nobody" already exists. If it is not present on the system, run the command: "groupadd nobody" to create the nobody group.
  9. Run the command: grep "^http" /etc/services

  10. - Expected result: Output shows tcp and udp port definitions for the http server using port 80. If definitions are not present, add the following two lines to /etc/services:
    http     80/tcp
    http     80/udp
    

    It is not necessary to add https entries, or any other http services not associated with port 80, for this test.

Functional Verification Test (FVT)

  Expected result  
achieved?
Test case scenerio
1. Yes No Run the command: /opt/lsb-apache/sbin/apachectl start
- Expected result: The web server daemon starts as background process (check this with the ps command)
2. Yes No Run the comand: netstat -a | grep http
- Expected result: The command output should look like this:
tcp     0      0 *:http       *:*        LISTEN

Note: netstat is not a required command in the LSB. It is not an FVT failure if the command itself is unavailable.
3. Yes No Open a web browser using the URL: http://localhost
- Expected result: Test page stating "If you can read this page it means that the installation of the Apache web server software on this system was successful. You may now add content to this directory and replace this page."

If there is no web browser available on this host, you may connect from a remote host, or install the lsb-lynx text-mode browser package (if so, please test that lsb-lynx is operating correctly by running through the FVT for lsb-lynx first).

4. Yes No Select link to the Apache documentation near the bottom of the page
- Expected result: Web page with links to all Apache documentation topics will be displayed
5. Yes No Select the SiteMap link in from the navigation bar at the top or bottom of the documentation page, or within the body of the document (they all point the same place).
- Expected result: Web page with links to all files contained in the installed web site.

Results

1. Yes No Were there any errors recorded above?
2. Yes No Were there any deviations in the install, setup, or test described above?
If yes, please describe.

Cleanup

  1. Shut down the lsb-apache webserver with the following command:
    /opt/lsb-apache/sbin/apachectl stop
        

  2. If the native webserver was shut down to run this test, re-enable it.

Reporting Test Results

Include the results of testing this application in the Conformance Statement submitted to the LSB Certification Authority when seeking LSB Runtime Environment Certification.