canmount_001_pos.ksh revision 1d32ba663e202c24a5a1f2e5aef83fffb447cb7f
407N/A# The contents of this file are subject to the terms of the 0N/A# Common Development and Distribution License (the "License"). 0N/A# You may not use this file except in compliance with the License. 0N/A# See the License for the specific language governing permissions 0N/A# and limitations under the License. 0N/A# When distributing Covered Code, include this CDDL HEADER in each 0N/A# If applicable, add the following below this CDDL HEADER, with the 0N/A# fields enclosed by brackets "[]" replaced with your own identifying 0N/A# information: Portions Copyright [yyyy] [name of copyright owner] 0N/A# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 0N/A# Use is subject to license terms. 0N/A# Copyright (c) 2016 by Delphix. All rights reserved. 165N/A# Setting valid canmount to filesystem, it is successful. 165N/A# Whatever is set to volume or snapshot, it is failed. 165N/A# 'zfs set canmount=on|off <fs>' 165N/A# 1. Setup a pool and create fs, volume, snapshot clone within it. 165N/A# 2. Loop all the valid mountpoint value. 165N/A# 3. Check the return value. 165N/Alog_assert "Setting a valid property of canmount to file system, it must be successful."