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.2.2-1.i486.rpm
    
    NOTE: Application MUST be installed without use of the --nodeps option

    - Expected result: application should be installed to

    /opt/lsb-python
    

  3. Change to the test directory:
    cd /opt/lsb-python/lib/python2.2/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-python/bin/python -E regrtest.py -u curses
	
- Expected result: After several minutes all the tests will be completed. There should not be any test failures and the output should look something like this (the precise list of skips is not critical).
174 tests OK.
19 tests skipped:
    test_al test_bsddb test_cd test_cl test_dbm test_dl test_email
    test_email_codecs test_gdbm test_gl test_imgfile test_largefile
    test_linuxaudiodev test_nis test_socket_ssl test_socketserver
    test_sunaudiodev test_winreg test_winsound
5 skips unexpected on linux2:
    test_gdbm test_dbm test_email test_bsddb test_linuxaudiodev
       
2. Yes No Run the tests again in optimized mode by running the command:
/opt/lsb-python/bin/python -E -O regrtest.py -u curses
        
- Expected result: The tests will run slightly faster since no compiles need to take place. Once completed the results should look the same as for the previous scenario.

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-python/lib/python2.2/test
    rm -f *.pyc *.pyo
    mv SAVE/* .
    rmdir SAVE
          
    (Note: in the mv command, the final argument is a dot)

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.