1# vim: filetype=sh 2# 3# CDDL HEADER START 4# 5# The contents of this file are subject to the terms of the 6# Common Development and Distribution License (the "License"). 7# You may not use this file except in compliance with the License. 8# 9# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10# or http://www.opensolaris.org/os/licensing. 11# See the License for the specific language governing permissions 12# and limitations under the License. 13# 14# When distributing Covered Code, include this CDDL HEADER in each 15# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16# If applicable, add the following below this CDDL HEADER, with the 17# fields enclosed by brackets "[]" replaced with your own identifying 18# information: Portions Copyright [yyyy] [name of copyright owner] 19# 20# CDDL HEADER END 21# 22 23# 24# Copyright 2008 Sun Microsystems, Inc. All rights reserved. 25# Use is subject to license terms. 26 27. $STF_SUITE/include/libtest.kshlib 28 29export NISSTAFILE=$TMPDIR/nis_state 30export TESTFILE=testfile${TESTCASE_ID} 31export TESTFILE0=testfile0.${TESTCASE_ID} 32export TESTFILE2=testfile2.${TESTCASE_ID} 33 34# Define super user 'admin' 35export ZFS_ACL_ADMIN=admin 36 37export ZFS_ACL_STAFF_GROUP=zfsgrp 38export ZFS_ACL_STAFF1=staff1 39export ZFS_ACL_STAFF2=staff2 40 41export ZFS_ACL_OTHER_GROUP=othergrp 42export ZFS_ACL_OTHER1=other1 43export ZFS_ACL_OTHER2=other2 44 45# Define the current user who run 'usr_exec' 46export ZFS_ACL_CUR_USER="" 47 48# Define global error string 49export ZFS_ACL_ERR_STR="" 50 51# Define test file and test directory which will be operated by chmod 52export testfile=$TESTDIR/testfile 53export testdir=$TESTDIR/testdir 54 55# Define several directories for trivial ACLs function test. 56export RES_DIR=$TESTDIR/RES 57export INI_DIR=$TESTDIR/INIT 58export TST_DIR=$TESTDIR/TEST 59export TMP_DIR=$TESTDIR/TMP 60 61# Define test files and their attributes files number for trivial 62# ACLs function test 63export NUM_FILE=5 64export NUM_ATTR=10 65 66# Enlarge STF_TIMEOUT 67export STF_TIMEOUT=1800 68