Print this page
7290 ZFS test suite needs to control what utilities it can run
Reviewed by: Dan Kimmel <dan.kimmel@delphix.com>
Reviewed by: Matthew Ahrens <mahrens@delphix.com>

*** 24,45 **** # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2013, 2014 by Delphix. All rights reserved. # . $STF_SUITE/tests/functional/rsend/rsend.kshlib verify_runnable "both" verify_disk_count "$DISKS" 2 if is_global_zone ; then ! log_must $ZPOOL create $POOL $DISK1 ! log_must $ZPOOL create $POOL2 $DISK2 fi ! log_must $MKDIR $BACKDIR $TESTDIR log_must setup_test_model $POOL log_pass --- 24,45 ---- # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2013, 2016 by Delphix. All rights reserved. # . $STF_SUITE/tests/functional/rsend/rsend.kshlib verify_runnable "both" verify_disk_count "$DISKS" 2 if is_global_zone ; then ! log_must zpool create $POOL $DISK1 ! log_must zpool create $POOL2 $DISK2 fi ! log_must mkdir $BACKDIR $TESTDIR log_must setup_test_model $POOL log_pass