xref: /freebsd/tests/sys/cddl/zfs/tests/acl/acl.cfg (revision c697fb7f)
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# $FreeBSD$
24
25#
26# Copyright 2008 Sun Microsystems, Inc.  All rights reserved.
27# Use is subject to license terms.
28#
29# ident	"@(#)acl.cfg	1.3	08/08/15 SMI"
30#
31
32. $STF_SUITE/include/libtest.kshlib
33
34export NISSTAFILE=$TMPDIR/nis_state
35export TESTFILE=testfile${TESTCASE_ID}
36export TESTFILE0=testfile0.${TESTCASE_ID}
37export TESTFILE2=testfile2.${TESTCASE_ID}
38
39# Define super user 'admin'
40export ZFS_ACL_ADMIN=admin
41
42export ZFS_ACL_STAFF_GROUP=zfsgrp
43export ZFS_ACL_STAFF1=staff1
44export ZFS_ACL_STAFF2=staff2
45
46export ZFS_ACL_OTHER_GROUP=othergrp
47export ZFS_ACL_OTHER1=other1
48export ZFS_ACL_OTHER2=other2
49
50# Define the current user who run 'usr_exec'
51export ZFS_ACL_CUR_USER=""
52
53# Define global error string
54export ZFS_ACL_ERR_STR=""
55
56# Define test file and test directory which will be operated by chmod
57export testfile=$TESTDIR/testfile
58export testdir=$TESTDIR/testdir
59
60# Define several directories for trivial ACLs function test.
61export RES_DIR=$TESTDIR/RES
62export INI_DIR=$TESTDIR/INIT
63export TST_DIR=$TESTDIR/TEST
64export TMP_DIR=$TESTDIR/TMP
65
66# Define test files and their attributes files number for trivial
67# ACLs function test
68export NUM_FILE=5
69export NUM_ATTR=10
70
71# Enlarge STF_TIMEOUT
72export STF_TIMEOUT=1800
73