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 #
*** 43,54 **** # 4. Make sure the file systems were unmounted # for fs in 1 2 3; do log_must mounted $TESTDIR.$fs ! log_must $ZFS umount $TESTPOOL/$TESTFS.$fs log_must unmounted $TESTDIR.$fs ! log_must $ZFS mount $TESTPOOL/$TESTFS.$fs log_must mounted $TESTDIR.$fs done log_pass "All file systems are unmounted" --- 43,54 ---- # 4. Make sure the file systems were unmounted # for fs in 1 2 3; do log_must mounted $TESTDIR.$fs ! log_must zfs umount $TESTPOOL/$TESTFS.$fs log_must unmounted $TESTDIR.$fs ! log_must zfs mount $TESTPOOL/$TESTFS.$fs log_must mounted $TESTDIR.$fs done log_pass "All file systems are unmounted"