]> git.proxmox.com Git - mirror_zfs.git/commitdiff
Fix refquota_007_neg.ksh
authorIgor K <igor@dilos.org>
Fri, 30 Aug 2019 16:32:25 +0000 (19:32 +0300)
committerBrian Behlendorf <behlendorf1@llnl.gov>
Fri, 30 Aug 2019 16:32:25 +0000 (09:32 -0700)
Must use 'zfs' instead of '$ZFS' which is undefined.

Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Igor Kozhukhov <igor@dilos.org>
Closes #9257

tests/zfs-tests/tests/functional/refquota/refquota_007_neg.ksh

index e2141c7d7f3b7f4ec4f3ff5fbe4c2195435d335b..4f0393883b6abfd01a6ae48ef938b7e367d52b40 100755 (executable)
@@ -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