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# 24# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25# Use is subject to license terms. 26 27. $STF_SUITE/tests/cli_user/cli.cfg 28 29 30# these are the set of setable ZFS properties 31PROP_NAMES="\ 32 aclinherit aclmode atime \ 33 checksum compression devices \ 34 exec mountpoint quota readonly \ 35 recordsize reservation setuid shareiscsi \ 36 sharenfs snapdir " 37 38# these are a set of values we apply, for use when testing the 39# zfs get/set subcommands - ordered as per the list above so we 40# can iterate over both sets in an array 41PROP_VALS="\ 42 secure discard on \ 43 fletcher2 on on \ 44 on legacy none on \ 45 128k none on on \ 46 on visible " 47 48# these are an alternate set of property values 49PROP_ALTVALS="\ 50 noallow groupmask off \ 51 fletcher4 lzjb off \ 52 off $TMPDIR/zfstest 100m off \ 53 512 10m off off \ 54 off hidden " 55 56 57 58# additional properties to worry about: canmount copies xattr zoned version 59 60POOL_PROPS="\ 61 bootfs autoreplace" 62 63POOL_VALS="\ 64 $TESTPOOL/$TESTFS on" 65 66POOL_ALTVALS="\ 67 $TESTPOOL/$TESTFS/$TESTFS2 off" 68