Home | History | Annotate | Download | only in kmf
      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 usr/src/OPENSOLARIS.LICENSE
      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 usr/src/OPENSOLARIS.LICENSE.
     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 2009 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)config.vars	1.7	09/09/03 SMI"
     27 #
     28 
     29 # This file defines test suite configuration variables.  It contains
     30 # three sections:
     31 #       1) STF-defined variables
     32 #       2) Configuration variables with defaults
     33 #       3) Configuration variables without defaults
     34 #
     35 # The test suite user should not modify section #1.  He/she may
     36 # modify section #2 and must provide definitions for section #3.
     37 
     38 #
     39 #--------------------------------------------------------------
     40 # SECTION 1:  STF-defined variables
     41 #--------------------------------------------------------------
     42 #
     43 
     44 STF_VARIABLES="EXPECT KMF_CERTURI KMF_CRLURI STF_TIMEOUT TPM_OWNER_SECRET"
     45 STF_NOT_SAFE=
     46 
     47 #--------------------------------------------------------------
     48 # SECTION 2:  Configuration variables with defaults
     49 #--------------------------------------------------------------
     50 
     51 # the tool needed for runing pktool cases
     52 EXPECT=${EXPECT:-/usr/bin/expect}
     53 
     54 # the uri for download test
     55 KMF_CRLURI=${KMF_CRLURI:-http://www.openvalidation.org/files/Certs/CRL.pem}
     56 KMF_CERTURI=${KMF_CERTURI:-http://www.openvalidation.org/files/Certs/Server.pem}
     57 
     58 # when running in modes tpm:*, tests/pktool/pktool_081 can take quite a long
     59 # time since we run pktool commands with test matrix of different parameters and
     60 # all these operations will interact with the TPM device on the system, which
     61 # is very very slow.
     62 STF_TIMEOUT=${STF_TIMEOUT:-1800}
     63 
     64 # On the test systems with a TPM device, this variable must be set to the TPM
     65 # owner password if the TPM has been initialized, otherwise it will cause
     66 # execution failure. By default, it's set to "87654321" used by top configure
     67 # to initialize the TPM
     68 TPM_OWNER_SECRET=${TPM_OWNER_SECRET:-"87654321"}
     69 
     70 
     71 #--------------------------------------------------------------
     72 # SECTION 3:  Configuration variables without defaults
     73 #--------------------------------------------------------------
     74