1f38cb554SJohn Wren Kennedy# 2f38cb554SJohn Wren Kennedy# CDDL HEADER START 3f38cb554SJohn Wren Kennedy# 4f38cb554SJohn Wren Kennedy# The contents of this file are subject to the terms of the 5f38cb554SJohn Wren Kennedy# Common Development and Distribution License (the "License"). 6f38cb554SJohn Wren Kennedy# You may not use this file except in compliance with the License. 7f38cb554SJohn Wren Kennedy# 8f38cb554SJohn Wren Kennedy# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 9f38cb554SJohn Wren Kennedy# or http://www.opensolaris.org/os/licensing. 10f38cb554SJohn Wren Kennedy# See the License for the specific language governing permissions 11f38cb554SJohn Wren Kennedy# and limitations under the License. 12f38cb554SJohn Wren Kennedy# 13f38cb554SJohn Wren Kennedy# When distributing Covered Code, include this CDDL HEADER in each 14f38cb554SJohn Wren Kennedy# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 15f38cb554SJohn Wren Kennedy# If applicable, add the following below this CDDL HEADER, with the 16f38cb554SJohn Wren Kennedy# fields enclosed by brackets "[]" replaced with your own identifying 17f38cb554SJohn Wren Kennedy# information: Portions Copyright [yyyy] [name of copyright owner] 18f38cb554SJohn Wren Kennedy# 19f38cb554SJohn Wren Kennedy# CDDL HEADER END 20f38cb554SJohn Wren Kennedy# 21f38cb554SJohn Wren Kennedy 22f38cb554SJohn Wren Kennedy# 23f38cb554SJohn Wren Kennedy# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 24f38cb554SJohn Wren Kennedy# Use is subject to license terms. 25f38cb554SJohn Wren Kennedy# 26f38cb554SJohn Wren Kennedy 27f38cb554SJohn Wren Kennedy# 28f38cb554SJohn Wren Kennedy# Copyright (c) 2013 by Delphix. All rights reserved. 29f38cb554SJohn Wren Kennedy# 30f38cb554SJohn Wren Kennedy 31f38cb554SJohn Wren Kennedy# these are the set of setable ZFS properties 32f38cb554SJohn Wren KennedyPROP_NAMES="\ 33f38cb554SJohn Wren Kennedy aclinherit aclmode atime \ 34f38cb554SJohn Wren Kennedy checksum compression devices \ 35f38cb554SJohn Wren Kennedy exec mountpoint quota readonly \ 36f38cb554SJohn Wren Kennedy recordsize reservation setuid sharenfs \ 37f38cb554SJohn Wren Kennedy snapdir" 38f38cb554SJohn Wren Kennedy 39f38cb554SJohn Wren Kennedy# these are a set of values we apply, for use when testing the 40f38cb554SJohn Wren Kennedy# zfs get/set subcommands - ordered as per the list above so we 41f38cb554SJohn Wren Kennedy# can iterate over both sets in an array 42f38cb554SJohn Wren KennedyPROP_VALS="\ 43*f0e8a3d8SYuri Pankov passthrough discard on \ 44f38cb554SJohn Wren Kennedy fletcher2 on on \ 45f38cb554SJohn Wren Kennedy on legacy none on \ 46*f0e8a3d8SYuri Pankov 128K none on on \ 47f38cb554SJohn Wren Kennedy visible" 48f38cb554SJohn Wren Kennedy 49f38cb554SJohn Wren Kennedy# these are an alternate set of property values 50f38cb554SJohn Wren KennedyPROP_ALTVALS="\ 51*f0e8a3d8SYuri Pankov passthrough-x groupmask off \ 52f38cb554SJohn Wren Kennedy fletcher4 lzjb off \ 53*f0e8a3d8SYuri Pankov off /tmp/zfstest 100M off \ 54f38cb554SJohn Wren Kennedy 512 10m off off \ 55f38cb554SJohn Wren Kennedy hidden" 56f38cb554SJohn Wren Kennedy 57f38cb554SJohn Wren Kennedy 58f38cb554SJohn Wren Kennedy 59f38cb554SJohn Wren Kennedy# additional properties to worry about: canmount copies xattr zoned version 60f38cb554SJohn Wren Kennedy 61f38cb554SJohn Wren KennedyPOOL_PROPS="\ 62f38cb554SJohn Wren Kennedy failmode autoreplace" 63f38cb554SJohn Wren Kennedy 64f38cb554SJohn Wren KennedyPOOL_VALS="\ 65f38cb554SJohn Wren Kennedy continue on" 66f38cb554SJohn Wren Kennedy 67f38cb554SJohn Wren KennedyPOOL_ALTVALS="\ 68f38cb554SJohn Wren Kennedy panic off" 69f38cb554SJohn Wren Kennedy 70f38cb554SJohn Wren Kennedyexport TESTSNAP=testsnap-misc 71f38cb554SJohn Wren Kennedyexport TESTCLCT=testclct-misc 72