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 27 export NISSTAFILE=/var/tmp/nis_state 28 export TESTDIR=acldir.$CLIENT.$$ 29 export TESTDIR0=acldir0.$CLIENT.$$ 30 export TESTDIR1=acldir1.$CLIENT.$$ 31 export TESTFILE=aclfile.$CLIENT.$$ 32 export TESTFILE0=aclfile0.$CLIENT.$$ 33 export TESTFILE2=aclfile2.$CLIENT.$$ 34 35 # Define the current user who run 'usr_exec' 36 export ACL_CUR_USER="" 37 38 # Define global error string 39 export ACL_ERR_STR="" 40 # 41 # Define test file and test directory which will be operated by chmod 42 export testfile=$TESTDIR/aclfile.$CLIENT.$$ 43 export testdir=$TESTDIR/acldir.$CLIENT.$$ 44 45 # Define several directories for trivial ACLs function test. 46 export RES_DIR=$TESTDIR/RES 47 export INI_DIR=$TESTDIR/INIT 48 export TST_DIR=$TESTDIR/TEST 49 export TMP_DIR=$TESTDIR/TMP 50 51 # Define test files and their attributes files number for trivial 52 # ACLs function test 53 export NUM_FILE=5 54 export NUM_ATTR=10 55 56 # Enlarge STF_TIMEOUT 57 export STF_TIMEOUT=1800 58 59 # program 60 export FILE_WRITE="file_operator" 61 export MKTREE="mktree" 62 export CHG_USR_EXEC="chg_usr_exec"