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

Functional Verification Test for lsb-expect

Install & Setup

  1. Download the lsb-expect application package that corresponds to the LSB version and processor architecture for which certification is being sought from the Download Page.
  2. The lsb-expect application relies on library support from the lsb-tcl application, so 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.
  3. Install the lsb-tcl package on system. Example command line:
    rpm -ivh lsb-tcl-8.4.11-4.lsb3.i486.rpm
    
    NOTE: Application MUST be installed without use of --nodeps option, the dependency checks are part of the test.
    - Expected result: lsb-tcl library should be installed to
    /opt/lsb/appbat/lib
    
  4. Install the lsb-expect package on system. Example command line:
    rpm -ivh lsb-expect-5.43.0-5.lsb3.i486.rpm
    
    NOTE: Application MUST be installed without use of --nodeps option
    - Expected result: application should be installed to
    /opt/lsb/appbat
    
  5. Change to /tmp directory and create a new directory called lsb-expect-tests
  6. Change to the /tmp/lsb-expect-tests directory
  7. Download the set of tests for expect here: expect-tests.tar
  8. Run the command: tar xvf expect-tests.tar  to extract tests into /tmp/lsb-expect-tests directory.

Functional Verification Test (FVT)

  Expected result  
achieved?
Test case scenerio
1. Yes No Run the command: /opt/lsb/appbat/bin/expect all.tcl
- Expected result: The seven tests will run and should produce the following two lines at the end:
all.tcl:   Total  25    Passed   25    Skipped   0    Failed   0
Sourced 7 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.

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 2005-08-03 Mats Wichmann