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