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>

*** 23,33 **** # Copyright 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2013 by Delphix. All rights reserved. # . $STF_SUITE/tests/functional/utils_test/utils_test.cfg # # Given a number of files, this function will iterate through --- 23,33 ---- # Copyright 2007 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/utils_test/utils_test.cfg # # Given a number of files, this function will iterate through
*** 41,50 **** { typeset -i num_files=$1 typeset -i filenum=0 while (( filenum < num_files )); do ! log_must $FILE_WRITE -o create -c $WRITE_COUNT \ -f $TESTDIR/$TESTFILE.$filenum -b $BLOCKSZ -d $DATA (( filenum = filenum + 1 )) done } --- 41,50 ---- { typeset -i num_files=$1 typeset -i filenum=0 while (( filenum < num_files )); do ! log_must file_write -o create -c $WRITE_COUNT \ -f $TESTDIR/$TESTFILE.$filenum -b $BLOCKSZ -d $DATA (( filenum = filenum + 1 )) done }