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
*** 49,60 **** log_onexit cleanup log_assert "Check zfs get all will not print out user|group quota" ! log_must $ZFS set userquota@$QUSER1=50m $QFS ! log_must $ZFS set groupquota@$QGROUP=100m $QFS ! log_mustnot $ZFS get all $QFS | $GREP userquota ! log_mustnot $ZFS get all $QFS | $GREP groupquota log_pass "zfs get all will not print out user|group quota" --- 49,60 ---- log_onexit cleanup log_assert "Check zfs get all will not print out user|group quota" ! log_must zfs set userquota@$QUSER1=50m $QFS ! log_must zfs set groupquota@$QGROUP=100m $QFS ! log_mustnot zfs get all $QFS | grep userquota ! log_mustnot zfs get all $QFS | grep groupquota log_pass "zfs get all will not print out user|group quota"