Home | History | Annotate | only in /test/ohacts/src
Up to higher level directory
NameDateSize
CDDL.txt11-Jun-200818.5K
defines.template11-Jun-20081.4K
doc/11-Jun-2008
ds/11-Jun-2008
faultserver/11-Jun-2008
Makefile11-Jun-20082.6K
pkgdefs/11-Jun-2008
profile.sh11-Jun-20081.4K
README11-Jun-20082.7K
source.mk11-Jun-20085.1K
subdir.mk11-Jun-20082.8K
svc/11-Jun-2008
tset/11-Jun-2008

README

      1 #
      2 # CDDL HEADER START
      3 #
      4 # The contents of this file are subject to the terms of the
      5 # Common Development and Distribution License (the License).
      6 # You may not use this file except in compliance with the License.
      7 #
      8 # You can obtain a copy of the license at src/CDDL.txt
      9 # or http://www.opensolaris.org/os/licensing.
     10 # See the License for the specific language governing permissions
     11 # and limitations under the License.
     12 #
     13 # When distributing Covered Code, include this CDDL HEADER in each
     14 # file and include the License file at src/CDDL.txt.
     15 # If applicable, add the following below this CDDL HEADER, with the
     16 # fields enclosed by brackets [] replaced with your own identifying
     17 # information: Portions Copyright [yyyy] [name of copyright owner]
     18 #
     19 # CDDL HEADER END
     20 #
     21 
     22 #
     23 # Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)README	1.22	08/06/04 SMI"
     27 #
     28 
     29 This directory tree contains the open-source version of the Open HA Cluster
     30 Automated Test Suite. For more information or full documentation, refer to the 
     31 Open HA Cluster Automated Test Suite User's Guide, 
     32 and for most up-to-date build instructions, which is available at:
     33 
     34   http://www.opensolaris.org/os/community/ha-clusters/ohac/Documentation/Tests/.
     35 
     36 
     37 For quick build and installation instructions, see below.
     38 
     39 
     40 BUILDING THE TEST HARNESS
     41 -------------------------
     42 
     43 To build from source you will need a system installed with:
     44 
     45   . Solaris Express Community Edition.
     46   . The Sun Studio Compilers (included in Solaris Express Community Edition).
     47 
     48   
     49 You will also need to download and build the CTI for TET from the OpenSolaris 
     50 Test Community at:
     51 
     52   http://www.opensolaris.org/os/community/testing/testsuites/ctifortet/
     53 
     54 
     55 1. Extract the archive ohacts-src-DATE.tar.bz2 into the current directory.
     56    $ bzcat /<path>/ohacts-src-DATE.tar.bz2 | tar xf -
     57   
     58 2. Copy the ohacts/src/defines.template file to create the src/defines.mk file.
     59    $ cd ohacts/src; cp defines.template defines.mk
     60 
     61 3. Open the new ohacts/src/defines.mk file for editing.
     62    $ vi defines.mk
     63   
     64 4. Change the values of the following variables:
     65 
     66    - For CTI_PROTO, replace <cti_proto_path> with the full path to the CTI for 
     67      TET root directory where ./bin, ./lib, and ./contrib are located.
     68 
     69    - For PATH, replace <compiler-path> with the path to your compiler.
     70 
     71    When done, save and exit the file.
     72 
     73 5. Build the SUNWscts package.
     74    $ make package
     75 
     76 
     77 INSTALLING THE PACKAGE
     78 ----------------------
     79    Install the SUNWscts package by running the following command:
     80    $ pkgadd -d <path>/ohacts/packages/Sol_xx/<arch> SUNWscts
     81 
     82 
     83 RUNNING TESTS
     84 -------------
     85    Please refer to 
     86      "Open HA Cluster Automated Test Suite User's Guide".
     87 
     88