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.11 09/08/11 SMI" 27 # 28 29 # Test directories from client and server 30 31 # Path for SERVER to test 32 export NFSSHRDIR=${NFSSHRDIR:-"/TESTDIR_shmnt"} 33 # Path for localhost to mount 34 export NFSMNTDIR=${NFSMNTDIR:-"/MNTDIR_shmnt"} 35 36 # Path for localhost to mount 37 export AUTOIND=${AUTOIND:-"/AUTO_shmnt"} 38 39 # NFS default mount options 40 export MNTOPT=${MNTOPT:-"rw"} 41 42 # RDMA variable in case user wants it 43 export TESTRDMA=${TESTRDMA:-"no"} 44 45 # DEBUG variable for the suite 46 export SHAREMNT_DEBUG=\$SHAREMNT_DEBUG 47 48 # Unique tag of testing user for the suite 49 export TUSER_UTAG="NFSTestSuiteUser@sharemnt" 50 51 # UTILS variable for generic libs/utils used by test 52 whence -p stc_genutils > /dev/null 2>&1 53 if (( $? != 0 )); then 54 echo "config.vars: stc_genutils command not found!" 55 exit 1 56 fi 57 export STC_GENUTILS=$(stc_genutils path) 58 59 # NFS services 60 export SRV_FMRI="svc:/network/nfs/server" 61 export LCK_FMRI="svc:/network/nfs/nlockmgr" 62 export QUOTA_FMRI="svc:/network/nfs/rquota" 63 export STAT_FMRI="svc:/network/nfs/status" 64 export CBD_FMRI="svc:/network/nfs/cbd" 65 export MAP_FMRI="svc:/network/nfs/mapid" 66 export AUTO_FMRI="svc:/system/filesystem/autofs:default" 67 export SERVICES="$SRV_FMRI $LCK_FMRI $QUOTA_FMRI $STAT_FMRI $CBD_FMRI $MAP_FMRI" 68 69 STF_VARIABLES=" \ 70 SERVER MNTDIR AUTOIND MNTOPT \ 71 SHAREMNT_DEBUG CLIENT CLIENT_S SERVER_S \ 72 SERVICES SRV_FMRI LCK_FMRI QUOTA_FMRI STAT_FMRI \ 73 CBD_FMRI MAP_FMRI AUTO_FMRI \ 74 NFSSHRDIR NFSMNTDIR ZONE_PATH NFSMAPID_DOMAIN \ 75 TESTRDMA TUSER_UTAG STC_GENUTILS" 76