]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - tests/zfs-tests/tests/functional/delegate/delegate.cfg
Vendor import of openzfs master @ 184df27eef0abdc7ab2105b21257f753834b936b
[FreeBSD/FreeBSD.git] / tests / zfs-tests / tests / functional / delegate / delegate.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 #
28 # Copyright (c) 2013 by Delphix. All rights reserved.
29 #
30
31 export NISSTAFILE=$TEST_BASE_DIR/nis_state
32
33 export STAFF_GROUP=zfsgrp
34 export STAFF1=staff1
35 export STAFF2=staff2
36
37 export OTHER_GROUP=othergrp
38 export OTHER1=other1
39 export OTHER2=other2
40
41 export EVERYONE="$STAFF1 $STAFF2 $OTHER1 $OTHER2"
42
43 #
44 # 'readonly' is disabled for Linux because it requires remounting the
45 # filesystem which is restricted to root for older versions of mount(8).
46 #
47 if is_linux; then
48         LOCAL_SET="snapshot"
49         LOCAL_DESC_SET="checksum"
50         DESC_SET="compression"
51 else
52         LOCAL_SET="snapshot"
53         LOCAL_DESC_SET="readonly,checksum"
54         DESC_SET="compression"
55 fi
56 export LOCAL_SET
57 export LOCAL_DESC_SET
58 export DESC_SET
59
60 export TESTVOL=testvol.delegate
61 export VOLSIZE=150m
62
63 export ROOT_TESTVOL=$TESTPOOL/$TESTVOL
64 export ROOT_TESTFS=$TESTPOOL/$TESTFS
65 export SUBFS=$ROOT_TESTFS/SUBFS
66 export SUBFS2=$ROOT_TESTFS/SUBFS2
67
68 DATASETS="$ROOT_TESTFS"
69 if is_global_zone ; then
70         DATASETS=$DATASETS
71 fi
72 export DATASETS