12fae26bdSAlan Somers# vim: filetype=sh 22fae26bdSAlan Somers# 32fae26bdSAlan Somers# CDDL HEADER START 42fae26bdSAlan Somers# 52fae26bdSAlan Somers# The contents of this file are subject to the terms of the 62fae26bdSAlan Somers# Common Development and Distribution License (the "License"). 72fae26bdSAlan Somers# You may not use this file except in compliance with the License. 82fae26bdSAlan Somers# 92fae26bdSAlan Somers# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 102fae26bdSAlan Somers# or http://www.opensolaris.org/os/licensing. 112fae26bdSAlan Somers# See the License for the specific language governing permissions 122fae26bdSAlan Somers# and limitations under the License. 132fae26bdSAlan Somers# 142fae26bdSAlan Somers# When distributing Covered Code, include this CDDL HEADER in each 152fae26bdSAlan Somers# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 162fae26bdSAlan Somers# If applicable, add the following below this CDDL HEADER, with the 172fae26bdSAlan Somers# fields enclosed by brackets "[]" replaced with your own identifying 182fae26bdSAlan Somers# information: Portions Copyright [yyyy] [name of copyright owner] 192fae26bdSAlan Somers# 202fae26bdSAlan Somers# CDDL HEADER END 212fae26bdSAlan Somers# 222fae26bdSAlan Somers 232fae26bdSAlan Somers# 242fae26bdSAlan Somers# Copyright 2007 Sun Microsystems, Inc. All rights reserved. 252fae26bdSAlan Somers# Use is subject to license terms. 262fae26bdSAlan Somers# *** ASSERTION DESCRIPTION *** 272fae26bdSAlan Somers# 282fae26bdSAlan Somers# Verify that executing 'zfs inherit' at the top level in the hierarchy 292fae26bdSAlan Somers# when the top level and middle level datasets properties are set locally, 302fae26bdSAlan Somers# and the bottom level has inherited its properties from the middle 312fae26bdSAlan Somers# level, results in the top level properties reverting back to their 322fae26bdSAlan Somers# default values. 332fae26bdSAlan Somers# 342fae26bdSAlan Somers# Executing 'zfs inherit' at the middle level results in the middle level 352fae26bdSAlan Somers# inheriting its value from the top level (which is now default), and passing 362fae26bdSAlan Somers# the values down to the bottom level. 372fae26bdSAlan Somers# 382fae26bdSAlan Somers# Executing 'zfs inherit' at the bottom level is somewhat redundant but 392fae26bdSAlan Somers# is done for completness sake. 402fae26bdSAlan Somers# 412fae26bdSAlan Somers# *** ASSERTION DESCRIPTION *** 422fae26bdSAlan Somers# 432fae26bdSAlan Somers# 442fae26bdSAlan Somerstestpool.inherit:inherit 452fae26bdSAlan Somers# 462fae26bdSAlan Somerslocal default 472fae26bdSAlan Somerslocal local 482fae26bdSAlan Somerstestpool.inherit/TESTCTR testpool.inherit/TESTCTR 492fae26bdSAlan Somers# 502fae26bdSAlan Somers# 512fae26bdSAlan Somerstestpool.inherit/TESTCTR:inherit 522fae26bdSAlan Somers# 532fae26bdSAlan Somersdefault default 542fae26bdSAlan Somerslocal default 552fae26bdSAlan Somerstestpool.inherit/TESTCTR default 562fae26bdSAlan Somers# 572fae26bdSAlan Somers# 582fae26bdSAlan Somerstestpool.inherit/TESTCTR/TESTFS1:inherit 592fae26bdSAlan Somers# 602fae26bdSAlan Somersdefault default 612fae26bdSAlan Somersdefault default 622fae26bdSAlan Somersdefault default 63