]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - sys/contrib/openzfs/tests/zfs-tests/tests/functional/acl/acl.cfg
MFH
[FreeBSD/FreeBSD.git] / sys / contrib / openzfs / tests / zfs-tests / tests / functional / acl / acl.cfg
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
29 export NISSTAFILE=$TEST_BASE_DIR/nis_state
30 export TESTFILE=testfile$$
31 export TESTFILE0=testfile0.$$
32 export TESTFILE2=testfile2.$$
33
34 # Define super user 'zfstest'
35 export ZFS_ACL_ADMIN=zfstest
36
37 export ZFS_ACL_STAFF_GROUP=zfsgrp
38 export ZFS_ACL_STAFF1=staff1
39 export ZFS_ACL_STAFF2=staff2
40
41 export ZFS_ACL_OTHER_GROUP=othergrp
42 export ZFS_ACL_OTHER1=other1
43 export ZFS_ACL_OTHER2=other2
44
45 # Define the current user who run 'usr_exec'
46 export ZFS_ACL_CUR_USER=""
47
48 # Define global error string
49 export ZFS_ACL_ERR_STR=""
50
51 # Define test file and test directory which will be operated by chmod
52 export testfile=$TESTDIR/testfile
53 export testdir=$TESTDIR/testdir
54
55 # Define several directories for trivial ACLs function test.
56 export RES_DIR=$TESTDIR/RES
57 export INI_DIR=$TESTDIR/INIT
58 export TST_DIR=$TESTDIR/TEST
59 export TMP_DIR=$TESTDIR/TMP
60
61 # Define test files and their attributes files number for trivial
62 # ACLs function test
63 export NUM_FILE=5
64 export NUM_ATTR=10