From: Igor K Date: Fri, 30 Aug 2019 16:32:25 +0000 (+0300) Subject: Fix refquota_007_neg.ksh X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d39c71d3654f6546dc3374c7833610f51d036109;p=zfs Fix refquota_007_neg.ksh Must use 'zfs' instead of '$ZFS' which is undefined. Reviewed-by: John Kennedy Reviewed-by: Brian Behlendorf Signed-off-by: Igor Kozhukhov Closes #9257 --- diff --git a/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh b/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh index e2141c7d7..4f0393883 100755 --- a/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh +++ b/tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh @@ -38,9 +38,9 @@ verify_runnable "both" function cleanup { - log_must $ZFS destroy -rf $TESTPOOL/$TESTFS - log_must $ZFS create $TESTPOOL/$TESTFS - log_must $ZFS set mountpoint=$TESTDIR $TESTPOOL/$TESTFS + log_must zfs destroy -rf $TESTPOOL/$TESTFS + log_must zfs create $TESTPOOL/$TESTFS + log_must zfs set mountpoint=$TESTDIR $TESTPOOL/$TESTFS } log_onexit cleanup