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 by Delphix. All rights reserved. # . $STF_SUITE/include/libtest.shlib . $STF_SUITE/tests/functional/userquota/userquota_common.kshlib --- 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/userquota/userquota_common.kshlib
*** 59,70 **** if [[ $group_used != 0 ]]; then log_fail "FAIL: groupused is $group_used, should be 0" fi mkmount_writable $QFS ! log_must user_run $QUSER1 $MKFILE 100m $QFILE ! $SYNC user_used=$(get_value "userused@$QUSER1" $QFS) group_used=$(get_value "groupused@$QGROUP" $QFS) if [[ $user_used != "100M" ]]; then --- 59,70 ---- if [[ $group_used != 0 ]]; then log_fail "FAIL: groupused is $group_used, should be 0" fi mkmount_writable $QFS ! log_must user_run $QUSER1 mkfile 100m $QFILE ! sync user_used=$(get_value "userused@$QUSER1" $QFS) group_used=$(get_value "groupused@$QGROUP" $QFS) if [[ $user_used != "100M" ]]; then