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.
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.
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]
23 # Copyright 2008 Sun Microsystems, Inc. All rights reserved.
24 # Use is subject to license terms.
28 # Copyright (c) 2013 by Delphix. All rights reserved.
31 export NISSTAFILE=$TEST_BASE_DIR/nis_state
33 export STAFF_GROUP=zfsgrp
37 export OTHER_GROUP=othergrp
41 export EVERYONE="$STAFF1 $STAFF2 $OTHER1 $OTHER2"
44 # 'readonly' is disabled for Linux because it requires remounting the
45 # filesystem which is restricted to root for older versions of mount(8).
49 LOCAL_DESC_SET="checksum"
50 DESC_SET="compression"
53 LOCAL_DESC_SET="readonly,checksum"
54 DESC_SET="compression"
60 export TESTVOL=testvol.delegate
63 export ROOT_TESTVOL=$TESTPOOL/$TESTVOL
64 export ROOT_TESTFS=$TESTPOOL/$TESTFS
65 export SUBFS=$ROOT_TESTFS/SUBFS
66 export SUBFS2=$ROOT_TESTFS/SUBFS2
68 DATASETS="$ROOT_TESTFS"
69 if is_global_zone ; then