1*2fae26bdSAlan Somers# vim: filetype=sh 2*2fae26bdSAlan Somers# 3*2fae26bdSAlan Somers# CDDL HEADER START 4*2fae26bdSAlan Somers# 5*2fae26bdSAlan Somers# The contents of this file are subject to the terms of the 6*2fae26bdSAlan Somers# Common Development and Distribution License (the "License"). 7*2fae26bdSAlan Somers# You may not use this file except in compliance with the License. 8*2fae26bdSAlan Somers# 9*2fae26bdSAlan Somers# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10*2fae26bdSAlan Somers# or http://www.opensolaris.org/os/licensing. 11*2fae26bdSAlan Somers# See the License for the specific language governing permissions 12*2fae26bdSAlan Somers# and limitations under the License. 13*2fae26bdSAlan Somers# 14*2fae26bdSAlan Somers# When distributing Covered Code, include this CDDL HEADER in each 15*2fae26bdSAlan Somers# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16*2fae26bdSAlan Somers# If applicable, add the following below this CDDL HEADER, with the 17*2fae26bdSAlan Somers# fields enclosed by brackets "[]" replaced with your own identifying 18*2fae26bdSAlan Somers# information: Portions Copyright [yyyy] [name of copyright owner] 19*2fae26bdSAlan Somers# 20*2fae26bdSAlan Somers# CDDL HEADER END 21*2fae26bdSAlan Somers# 22*2fae26bdSAlan Somers 23*2fae26bdSAlan Somers# 24*2fae26bdSAlan Somers# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 25*2fae26bdSAlan Somers# Use is subject to license terms. 26*2fae26bdSAlan Somers# *** ASSERTION DESCRIPTION *** 27*2fae26bdSAlan Somers# 28*2fae26bdSAlan Somers# Verify that executing 'zfs inherit' at the top level in the hierarchy 29*2fae26bdSAlan Somers# when the top level properties are set locally and the middle and bottom 30*2fae26bdSAlan Somers# datasets have inherited from the top level, results in the top level 31*2fae26bdSAlan Somers# properties reverting back to their default values, the middle and bottom 32*2fae26bdSAlan Somers# levels inheriting the changed values. 33*2fae26bdSAlan Somers# 34*2fae26bdSAlan Somers# Executing 'zfs inherit' at the middle and bottom levels is somewhat 35*2fae26bdSAlan Somers# redundant but is done for completness sake. 36*2fae26bdSAlan Somers# 37*2fae26bdSAlan Somers# *** ASSERTION DESCRIPTION *** 38*2fae26bdSAlan Somers# 39*2fae26bdSAlan Somerstestpool.inherit:inherit 40*2fae26bdSAlan Somers# 41*2fae26bdSAlan Somerslocal default 42*2fae26bdSAlan Somerstestpool.inherit default 43*2fae26bdSAlan Somerstestpool.inherit default 44*2fae26bdSAlan Somers# 45*2fae26bdSAlan Somers# 46*2fae26bdSAlan Somerstestpool.inherit/TESTCTR:inherit 47*2fae26bdSAlan Somers# 48*2fae26bdSAlan Somersdefault default 49*2fae26bdSAlan Somersdefault default 50*2fae26bdSAlan Somersdefault default 51*2fae26bdSAlan Somers# 52*2fae26bdSAlan Somers# 53*2fae26bdSAlan Somerstestpool.inherit/TESTCTR/TESTFS1:inherit 54*2fae26bdSAlan Somers# 55*2fae26bdSAlan Somersdefault default 56*2fae26bdSAlan Somersdefault default 57*2fae26bdSAlan Somersdefault default 58*2fae26bdSAlan Somers# 59