xref: /titanic_41/usr/src/test/zfs-tests/tests/functional/acl/acl.cfg (revision da4badc008f69df74f592b0831d92baa6dfcee76)
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
27. $STF_SUITE/include/libtest.shlib
28
29export NISSTAFILE=/var/tmp/nis_state
30export TESTFILE=testfile$$
31export TESTFILE0=testfile0.$$
32export TESTFILE2=testfile2.$$
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