Home | History | Annotate | Download | only in include
      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 2008 Sun Microsystems, Inc.  All rights reserved.
     24 # Use is subject to license terms.
     25 #
     26 # ident	"@(#)vars	1.1	08/11/10 SMI"
     27 #
     28 
     29 # check and set global variables
     30 typeset -x NC_PRELOADS="MALLOC_DEBUG=WATCH,RW LD_PRELOAD=watchmalloc.so.1"
     31 typeset -x STC2_NC_PATH=${STC2_NC_PATH:-/usr/bin/nc}
     32 typeset -x STC2_NC_WATCHMALLOC=${STC2_NC_WATCHMALLOC:-1}
     33 [ "$STC2_NC_WATCHMALLOC" == "0" ] && typeset -x NC_PRELOADS=""
     34 typeset -x NC="$NC_PRELOADS $STC2_NC_PATH"
     35 typeset -x STC2_NC_DEBUG=${STC2_NC_DEBUG:-0}
     36 typeset -x NC_PIDFILE=/var/tmp/nc.pid
     37 typeset -ix STC2_NC_TEST_PORT=${STC2_NC_TEST_PORT:-4444}
     38 typeset -ix STC2_NC_TEST_SOURCE_PORT_FIRST=${STC2_NC_TEST_SOURCE_PORT:-55555}
     39 typeset -ix STC2_NC_TEST_SOURCE_PORT_LAST=${STC2_NC_TEST_SOURCE_PORT:-55566}
     40 typeset -x NC_TMPFILE_PREFIX="nc_tet-"
     41 typeset -ix STC2_NC_STARTUP_TIMEOUT=${STC2_NC_STARTUP_TIMEOUT:-10}
     42