[ Legal Information ]

LSB Execution

Suite Description

The LSB Execution suite provides instructions for executing the LSB (Linux Standard Base) Test Suites. You will need to acquire the tests from the LSB. The authors of this script have no connection with the LSB.

Execution Frequency

This suite should be used on at least one system in each beta release during the beta cycle.

Execution Dependencies

This suite has no dependencies.

Suite Overview

This suite contains the following cases:

No.   Case Name   Blocking
Case
  Estimated
Execution
  Abandon
After
n/a   System preparation   yes   10 min.   45 min.
1   File Hierarchy Standard   no   10 min.   45 min.
2   Users and groups   no   10 min.   45 min.
3   LSB-OS   no   1 hr.   3 hrs.
4   POSIX.1   no   6 hrs.   12 hrs.

Revision History

Version   Effective Date   Author/Editor   Summary of Changes
1.0   2001-10-15   Airong Zhang   Original suite

Environment Prerequisites

Preferred architecture: any i386
System installed? yes
Network configured? yes
Interface: tester preference
Logged in as: root




System preparation

Before the LSB tests can be executed, the system must be prepared. After completing these preparatory tasks, you can execute the tests in any order. The suggested execution order is based on execution time, with the shortest first.

Steps

1
Purpose Download the test files from the LSB.
Commands 1) cd /home
2) mkdir lsb-files
3) mkdir lsb-run
4) In your preferred web browser, go to
ftp://ftp.freestandards.org/pub/lsb/
5) Navigate through the following folders:
test-suites ... beta ... source ... distribution
6) Download the following files into lsb-run:
install.sh
tet_vsxgen-X.X.tgz

(where the X represents the revision number)
7) Download the following files into lsb-files:
lts_lsb-fhs-X.X.X.X.tgz
lts_usersgroups-X.X.X.X.tgz
lts_vsx-pcts-X.X.X.X.tgz
lts_lsb-os-X.X.X.X.tgz
(where the X represents the revision number)
Expected Results Feedback will vary based on your browser.
Comments and Tips Do not put the test suites (lts_*) in the lsb-run directory.
 
2
Purpose Make the install script executable.
Commands 1) cd /home/lsb-run
2) chmod +x install.sh
Expected Results none
Comments and Tips  
 



File Hierarchy Standard

The FHS test ensures that file and directory placement follows requirements and guidelines outlined in the File System Hierarchy Standard for UNIX-like operation systems. This standard enables applications, system administrators, and users to be able to predict the location of installed files and directories.

Steps

1
Purpose Set up to run the FHS test.
Commands 1) cd /home
2) cp lsb-files/lts_lsb-fhs-X.X.X.X.tgz lsb-run/
3) cd lsb-run
4) ./install.sh
5) Follow the prompts as the install script executes.
Expected Results The following message should appear:
"You should now login as the vsx0 and run /home/tet/setup.sh..."
Comments and Tips If you hav been using the GUI, open up a console to execute this test. Press Ctrl + Alt + F4, for example.
 
2
Purpose Start the FHS test.
Commands 1) Log out (or open another console) and log in as vsx0.
2) cd /home/tet/
3) ./setup.sh
4) Follow the prompts, accepting the suggested answer unless you have a non-standard environment.
Expected Results The test executes.
Comments and Tips The last question is "Build testsets?" Once you answer that question, execution begins. Stuck tests will eventually time out and execution will continue.
 
3
Purpose Save the results.
Commands 1) When asked to rerun failed tests, answer n.
2) su
3) cp /home/tet/test_sets/results/report /home/lsb-files/system_name_fhs
4) ls -al /home/lsb-files
Expected Results The results file should be saved in the lsb-files directory with a new name.
Comments and Tips Change the name of the results file when you copy it because all tests output a results file named "results."
 
4
Purpose Clean up for the next test.
Commands 1) cd /home
2) rm -rf tet
3) ls -al
4) cd lsb-run
5) rm lts_lsb-fhs-X.X.X.X.tgz
6) ls -al
Expected Results The tet directory and its contents should be removed from /home. The test file should be removed from /home/lsb-run.
Comments and Tips  
 
5
Purpose Log out of the secondary console.
Commands 1) exit
2) exit
Expected Results The first exit will return you to the vsx0 user. The second will log vsx0 out.
Comments and Tips  
 

Results

System Attempts Pass Pass
w/Errors
Fail Comments
 
 
         
 
 
         
 
 
         



Users and Groups

The Users and Groups test case tests commands and a few interfaces that have been defined in the LSB Users and Groups section of the LSB specification.

Steps

1
Purpose Set up to run the users and groups test.
Commands 1) cd /home
2) cp lsb-files/lts_usersgroups-X.X.X.X.tgz lsb-run/
3) cd lsb-run
4) ./install.sh
5) Follow the prompts as the install script executes.
Expected Results The following message should appear:
"You should now login as the vsx0 and run /home/tet/setup.sh..."
Comments and Tips If you hav been using the GUI, open up a console to execute this test. Press Ctrl + Alt + F4, for example.
 
2
Purpose Start the Users and Groups test.
Commands 1) Log out (or open another console) and log in as vsx0.
2) cd /home/tet/
3) ./setup.sh
4) Follow the prompts, accepting the suggested answer unless you have a non-standard system.
Expected Results The test executes.
Comments and Tips The last question is "Build the tests?" Once you answer that question, execution begins. Stuck tests will eventually time out and execution will continue.
 
3
Purpose Save the results.
Commands 1) When asked to rerun failed tests, answer n.
2) su
3) cp /home/tet/test_sets/results/report /home/lsb-files/system_name_ug
4) ls -al /home/lsb-files
Expected Results The results file should be saved in the lsb-files directory with a new name.
Comments and Tips Change the name of the results file when you copy it because all tests output a results file named "results."
 
4
Purpose Clean up for the next test.
Commands 1) cd /home
2) rm -rf tet
3) ls -al
4) cd lsb-run
5) rm lts_usersgroups-X.X.X.X.tgz
6) ls -al
Expected Results The tet directory and its contents should be removed from /home. The test file should be removed from /home/lsb-run.
Comments and Tips  
 
5
Purpose Log out of the secondary console.
Commands 1) exit
2) exit
Expected Results The first exit will return you to the vsx0 user. The second will log vsx0 out.
Comments and Tips  
 

Results

System Attempts Pass Pass
w/Errors
Fail Comments
 
 
         
 
 
         
 
 
         



LSB-OS

The LSB-OS test case tests for core libc behavior above the testing performed during the POSIX.1 (LSB-VSX-PCTS) test.

Steps

1
Purpose Set up to run the LSB-OS test.
Commands 1) cd /home
2) cp lsb-files/lts_lsb-os-X.X.X.X.tgz lsb-run/
3) cd lsb-run
4) ./install.sh
5) Follow the prompts as the install script executes.
Expected Results The following message should appear:
"You should now login as the vsx0 and run /home/tet/setup.sh..."
Comments and Tips If you hav been using the GUI, open up a console to execute this test. Press Ctrl + Alt + F4, for example.
 
2
Purpose Start the test
Commands 1) Log out (or open another console) and log in as vsx0.
2) cd /home/tet/
3) ./setup.sh
4) Follow the prompts, accepting the suggested answer unless you have a non-standard system.
Expected Results The test executes.
Comments and Tips The last question is "Build testsets?" Once you answer that question, execution begins. Stuck tests will eventually time out and execution will continue.
 
3
Purpose Save the results.
Commands 1) When asked to rerun failed tests, answer n.
2) su
3) cp /home/tet/test_sets/results/report /home/lsb-files/system_name_os
4) ls -al /home/lsb-files
Expected Results The results file should be saved in the lsb-files directory with a new name.
Comments and Tips Change the name of the results file when you copy it because all tests output a results file named "results."
 
4
Purpose Clean up for the next test.
Commands 1) cd /home
2) rm -rf tet
3) ls -al
4) cd lsb-run
5) rm lts_lsb-os-X.X.X.X.tgz
6) ls -al
Expected Results The tet directory and its contents should be removed from /home. The test file should be removed from /home/lsb-run.
Comments and Tips  
 
5
Purpose Log out of the secondary console.
Commands 1) exit
2) exit
Expected Results The first exit will return you to the vsx0 user. The second will log vsx0 out.
Comments and Tips  
 

Results

System Attempts Pass Pass
w/Errors
Fail Comments
 
 
         
 
 
         
 
 
         



POSIX.1

The POSIX.2 test case tests the core of the POSIX.1 standard. This suite tests the behavior of APIs (Application Program Interfaces) specified in the LSB specification.

Steps

1
Purpose Set up to run the POSIX test.
Commands 1) cd /home
2) cp lsb-files/lts_vsx-pcts-X.X.X.X.tgz lsb-run/
3) cd lsb-run
4) ./install.sh
5) Follow the prompts as the install script executes.
Expected Results The following message should appear:
"You should now login as the vsx0 and run /home/tet/setup.sh..."
Comments and Tips If you hav been using the GUI, open up a console to execute this test. Press Ctrl + Alt + F4, for example.
 
2
Purpose Start the test.
Commands 1) Log out (or open another console) and log in as vsx0.
2) cd /home/tet/
3) ./setup.sh
4) Follow the prompts, accepting the suggested answer unless you have a non-standard system.
Expected Results The test executes.
Comments and Tips The last question is "Build testsets?" Once you answer that question, execution begins. Stuck tests will eventually time out and execution will continue.
 
3
Purpose Save the results.
Commands 1) When asked to rerun failed tests, answer n.
2) su
3) cp /home/tet/test_sets/results/report /home/lsb-files/system_name_pcts
4) ls -al /home/lsb-files
Expected Results The results file should be saved in the lsb-files directory with a new name.
Comments and Tips Change the name of the results file when you copy it because all tests output a results file named "results."
 
4
Purpose Clean up for the next test.
Commands 1) cd /home
2) rm -rf tet
3) ls -al
4) cd lsb-run
5) rm lts_vsx-pcts-X.X.X.X.tgz
6) ls -al
Expected Results The tet directory and its contents should be removed from /home. The test file should be removed from /home/lsb-run.
Comments and Tips  
 
5
Purpose Log out of the secondary console
Commands 1) exit
2) exit
Expected Results The first exit will return you to the vsx0 user. The second will log vsx0 out.
Comments and Tips  
 

Results

System Attempts Pass Pass
w/Errors
Fail Comments
 
 
         
 
 
         
 
 
         

 


 

Legal Information

The information included in this test instruction document is provided AS IS without warranty of any kind. IBM EXPRESSLY DISCLAIMS ANY WARRANTIES, EXPRESS OR IMPLIED, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. IBM does not warrant any results or performance measurements obtained. Any information concerning IBM products was written for IBM products offered in the U.S.A. IBM may not offer the products, services or features discussed in this document in other countries, and the information is subject to change without notice. The information in this document relating to Linux is provided as a convenience to Linux users, and IBM makes no warranty or representation, express or implied, with respect to the accuracy and completeness of the information, and assumes no responsibility for any errors, which may appear in the document. Any performance or test data contained herein was determined in a controlled test environment. Therefore, the results obtained in other operating environments may vary. No license, express or implied, to any intellectual property is granted by this document. IBM may make improvements and/or changes in product(s) and/or programs described in this publication at any time without notice.

Linux is a trademark of Linus Torvalds.

[ top ]

1