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 31export NISSTAFILE=$TEST_BASE_DIR/nis_state 32 33export STAFF_GROUP=zfsgrp 34export STAFF1=staff1 35export STAFF2=staff2 36 37export OTHER_GROUP=othergrp 38export OTHER1=other1 39export OTHER2=other2 40 41export 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# 47if is_linux; then 48 LOCAL_SET="snapshot" 49 LOCAL_DESC_SET="checksum" 50 DESC_SET="compression" 51else 52 LOCAL_SET="snapshot" 53 LOCAL_DESC_SET="readonly,checksum" 54 DESC_SET="compression" 55fi 56export LOCAL_SET 57export LOCAL_DESC_SET 58export DESC_SET 59 60export TESTVOL=testvol.delegate 61export VOLSIZE=150m 62 63export ROOT_TESTVOL=$TESTPOOL/$TESTVOL 64export ROOT_TESTFS=$TESTPOOL/$TESTFS 65export SUBFS=$ROOT_TESTFS/SUBFS 66export SUBFS2=$ROOT_TESTFS/SUBFS2 67 68DATASETS="$ROOT_TESTFS" 69if is_global_zone ; then 70 DATASETS=$DATASETS 71fi 72export DATASETS 73