Functional Verification Test for lsb-python

Install & Setup

  1. Download the lsb-python 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:
    rpm -ivh lsb-python-2.3.4-1.0.lsb20.i486.rpm
    NOTE: Application MUST be installed without use of the --nodeps option
    - Expected result: application should be installed to
    /opt/lsb/appbat
  3. Change to the test directory:
    cd /opt/lsb/appbat/lib/python2.3/test
  4. Move aside the pre-compiled python scripts by running the following command sequence:
    mkdir SAVE
    mv *.pyc *.pyo SAVE

Functional Verification Test (FVT)

  Expected result  
achieved?
Test case scenerio
1. Yes No Run the command: /opt/lsb/appbat/bin/python -E regrtest.py -u curses | tee /tmp/python.out && reset
- Expected result: After several minutes all the tests will be completed with the results going to the /tmp/python.out file.
2. Yes No Run the command: tail -n 15 /tmp/python.out to view the last fifteen lines of the output file.
- Expected result: There should not be any test failures and the bottom lines of the output file should look something like this (the precise list of skips is not critical).
223 tests OK.
32 tests skipped:
    test_aepack test_al test_bsddb test_bsddb185 test_bsddb3 test_bz2
    test_cd test_cl test_dbm test_email_codecs test_gdbm test_gl
    test_imgfile test_ioctl test_largefile test_linuxaudiodev
    test_macfs test_macostools test_mpz test_nis test_normalization
    test_ossaudiodev test_pep277 test_plistlib test_scriptpackages
    test_socket_ssl test_socketserver test_sunaudiodev test_timeout
    test_urllibnet test_winreg test_winsound
6 skips unexpected on linux2:
    test_dbm test_bz2 test_gdbm test_bsddb test_mpz test_ioctl

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. Restore the original pre-compiled python scripts by running the following command sequence:
    cd /opt/lsb/appbat/lib/python2.3/test
    rm -f *.pyc *.pyo
    mv SAVE/* .
    rmdir SAVE
    (Note: in the mv command, the final argument is a dot)
  2. Remove the two test output file from the /tmp directory by running the following command:
    rm /tmp/python.out

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.