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 2007 Sun Microsystems, Inc. All rights reserved. # Use is subject to license terms. # # ! # Copyright (c) 2013 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib # --- 24,34 ---- # 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/include/libtest.shlib #
*** 47,59 **** verify_runnable "both" log_assert "Verify a nested file system can be created/destroyed." ! log_must $FILE_WRITE -o create -f $TESTDIR1/file -b 8192 -c 600 -d 0 ! log_must $ZFS unmount $TESTDIR1 log_note "Verify that a nested file system with a mounted file system "\ "cannot be destroyed." ! log_mustnot $ZFS destroy $TESTPOOL/$TESTCTR log_pass "A nested file system was successfully populated." --- 47,59 ---- verify_runnable "both" log_assert "Verify a nested file system can be created/destroyed." ! log_must file_write -o create -f $TESTDIR1/file -b 8192 -c 600 -d 0 ! log_must zfs unmount $TESTDIR1 log_note "Verify that a nested file system with a mounted file system "\ "cannot be destroyed." ! log_mustnot zfs destroy $TESTPOOL/$TESTCTR log_pass "A nested file system was successfully populated."