www.linuxbase.org -> Application Battery -> LSB 3 Functional Verification Test for lsb-tcl

Functional Verification Test for lsb-tcl

Install & Setup

  1. Download the lsb-tcl application package that corresponds to the LSB version and processor architecture for which certification is being sought from the Download Page.
  2. Install package on system. Example command line:
    rpm -ivh lsb-tcl-8.5a4-1.lsb3.i486.rpm
    
    NOTE: Application MUST be installed without use of --nodeps option, the dependency checks are part of the test.
    - Expected result: application should be installed to
    /opt/lsb/appbat
    
  3. Run the command: useradd -m tcl4lsb to create a user and its home directory for the tcl tests.
  4. Run the command: su - tcl4lsb to run tests as a non-root user.
  5. Change to /tmp directory and create a new directory called lsb-tcl-tests
  6. Change to the /tmp/lsb-tcl-tests directory
  7. Download the set of tests for tcl here: tcl8.5a4-tests.tar
  8. Run the command: tar xvf tcl8.5a4-tests.tar  to extract tests into the /tmp/lsb-tcl-tests (current) directory

Functional Verification Test (FVT)

  Expected result  
achieved?
Test case scenerio
1. Yes No Run the command: /opt/lsb/appbat/bin/tclsh8.5 all.tcl | tee testoutput
- Expected result: After several minutes all the tests will be completed.
2. Yes No Run the command: more testoutput  to view the output file. Once open, search for the string "Tests ended".
- Expected result: All the tests will have executed with no failures and the entry in the file should look like this (the exact number of tests passed and skipped is not critical):
Tests ended at Thu Aug 22 17:30:41 CDT 2005
all.tcl:   Total  9747   Passed  7272   Skipped  2475   Failed  0
Sourced 129 Test Files.

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. Before exiting from the tcl4lsb user remove the lsb-tcl-tests directory by running the following commands:
    cd /home/tcl4lsb
    rm -rf /tmp/lsb-tcl-tests
    
  2. Exit from the tcl4lsb user and remove this user and its associated home directory from the system by running the following commands:
    exit
    userdel -r tcl4lsb
    

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. Note this is not a submittable form, instead you affirm on the certification form that you have followed these steps.


last change 2007-12-12 Stew Benedict