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