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,34 **** # Copyright 2009 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2013, 2015 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib . $STF_SUITE/tests/functional/inuse/inuse.cfg --- 24,34 ---- # 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/include/libtest.shlib . $STF_SUITE/tests/functional/inuse/inuse.cfg
*** 57,67 **** function verify_assertion #slices { typeset targets=$1 for t in $targets; do ! $ECHO "y" | $NEWFS -v $t > /dev/null 2>&1 (( $? !=0 )) || \ log_fail "newfs over active pool " \ "unexpected return code of 0" done --- 57,67 ---- function verify_assertion #slices { typeset targets=$1 for t in $targets; do ! echo "y" | newfs -v $t > /dev/null 2>&1 (( $? !=0 )) || \ log_fail "newfs over active pool " \ "unexpected return code of 0" done