1a4dd1f35SJohn Wren Kennedy#!/usr/bin/ksh -p 2a4dd1f35SJohn Wren Kennedy# 3a4dd1f35SJohn Wren Kennedy# CDDL HEADER START 4a4dd1f35SJohn Wren Kennedy# 5a4dd1f35SJohn Wren Kennedy# The contents of this file are subject to the terms of the 6a4dd1f35SJohn Wren Kennedy# Common Development and Distribution License (the "License"). 7a4dd1f35SJohn Wren Kennedy# You may not use this file except in compliance with the License. 8a4dd1f35SJohn Wren Kennedy# 9a4dd1f35SJohn Wren Kennedy# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 10a4dd1f35SJohn Wren Kennedy# or http://www.opensolaris.org/os/licensing. 11a4dd1f35SJohn Wren Kennedy# See the License for the specific language governing permissions 12a4dd1f35SJohn Wren Kennedy# and limitations under the License. 13a4dd1f35SJohn Wren Kennedy# 14a4dd1f35SJohn Wren Kennedy# When distributing Covered Code, include this CDDL HEADER in each 15a4dd1f35SJohn Wren Kennedy# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16a4dd1f35SJohn Wren Kennedy# If applicable, add the following below this CDDL HEADER, with the 17a4dd1f35SJohn Wren Kennedy# fields enclosed by brackets "[]" replaced with your own identifying 18a4dd1f35SJohn Wren Kennedy# information: Portions Copyright [yyyy] [name of copyright owner] 19a4dd1f35SJohn Wren Kennedy# 20a4dd1f35SJohn Wren Kennedy# CDDL HEADER END 21a4dd1f35SJohn Wren Kennedy# 22a4dd1f35SJohn Wren Kennedy 23a4dd1f35SJohn Wren Kennedy# 24a4dd1f35SJohn Wren Kennedy# Copyright 2009 Sun Microsystems, Inc. All rights reserved. 25a4dd1f35SJohn Wren Kennedy# Use is subject to license terms. 26a4dd1f35SJohn Wren Kennedy# 27a4dd1f35SJohn Wren Kennedy 28a4dd1f35SJohn Wren Kennedy# 29*c5389946SJohn Wren Kennedy# Copyright (c) 2013, 2014 by Delphix. All rights reserved. 30a4dd1f35SJohn Wren Kennedy# 31a4dd1f35SJohn Wren Kennedy 32a4dd1f35SJohn Wren Kennedy. $STF_SUITE/tests/functional/rsend/rsend.kshlib 33a4dd1f35SJohn Wren Kennedy 34a4dd1f35SJohn Wren Kennedyverify_runnable "both" 35a4dd1f35SJohn Wren Kennedyverify_disk_count "$DISKS" 2 36a4dd1f35SJohn Wren Kennedy 37a4dd1f35SJohn Wren Kennedyif is_global_zone ; then 38a4dd1f35SJohn Wren Kennedy log_must $ZPOOL create $POOL $DISK1 39a4dd1f35SJohn Wren Kennedy log_must $ZPOOL create $POOL2 $DISK2 40a4dd1f35SJohn Wren Kennedyfi 41a4dd1f35SJohn Wren Kennedylog_must $MKDIR $BACKDIR $TESTDIR 42a4dd1f35SJohn Wren Kennedy 43a4dd1f35SJohn Wren Kennedylog_must setup_test_model $POOL 44a4dd1f35SJohn Wren Kennedy 45a4dd1f35SJohn Wren Kennedylog_pass 46