SETTING UP TET3 FOR LSB-FHS AND VSX4 ------------------------------------ To run these tests, you need to have a copy of TET3 which is bundled with this distribution. (The latest version of TET3 can be obtained from either ftp://ftp.xopen.org:/pub/TET3 or http://tetworks.opengroup.org/tet3download.html General Setup -------------- If the command example starts with a #, that means you are performing this step as root. If the command starts with $, you are performing this step as user vsx0. Account Setup for the LSB-FHS ------------------------------ (if you are setting up the vsx4 tests, see item 1a, note that the LSB-FHS tests will also work if you only follow 1a) 1. Create the proper user/group for working with these tests. The short version: user: vsx0 group: vsxg0 HOME: /home/tet shell: /bin/sh The longer version: Login as root Create a user named vsx0 in group vsxg0 The Home directory should be the /home/tet directory. The shell should be set to /bin/sh # groupadd vsxg0 # useradd -g vsxg0 -d /home/tet -s /bin/sh vsx0 Account Setup for the VSX4 tests ------------------------------------- 1a. If you are going to install and run VSX4 , this has further requirements over the LSB-FHS for additional users and groups and you should examine the script uids.setup provided in the LSB.tools directory. This creates three accounts and groups vsx0,vsx1, and vsx2 and places the vsx0 user in the maximum number of supplementary groups (supp1..supp32). # cd LSB.tools # . ./uids.setup This script can also be used if you only intend to run the LSB-FHS testset, although those tests only use the vsx0 user. General Setup Cont'd.. ------------------------ Ensure that all the test files are owned by user vsx0 and group vsxg0 # cd /home # chown -R vsx0:vsxg0 tet Now login as user vsx0 # su - vsx0 2. Install the tests in the vsx0 home directory If you are installing the tests from a packaged tar archive follow the instructions at (2a) or if you are installing them from CVS at the Source Forge site following the instructions at (2b) 2a. Install the tests from a packaged tar archive $ cd /home/tet Unpackage the archive in this directory. For example if the name of the archive you have downloaded is lsb-fhs_test_suite.tgz $ tar xvfz lsb-fhs_test_suite.tgz You should now have a tree beginning with /home/tet/tests containing the vsx4 and/or lsb-fhs tests, along with the tet3 programs. The vsx4 tests will be in /home/tet/tests/vsx4 and the lsb-fhs tests in /home/tet/tests/lsb-fhs. 2b. Install the tests from the CVS repository at Source Forge $ cd /home/tet $ cvs -d:pserver:anonymous@cvs.lsb.sourceforge.net:/cvsroot/lsb login $ cvs -d:pserver:anonymous@cvs.lsb.sourceforge.net:/cvsroot/lsb co tests You should now have a tree beginning with /home/tet/tests containing the vsx4 and lsb-fhs tests, along with the tet3 programs. 3. Build tet3 The file /home/tet/tests/profile sets up the environment for building tet. Make sure you are in the /home/tet/tests directory Dot in the /home/tet/tests profile $ . ./profile Build tet3 $ sh configure -t lite $ cd src $ make install TET3 is now be built and installed. You can now install and run the lsb-fhs and/or vsx4 tests (see /home/tet/tests/README.FIRST)