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,11 +24,11 @@
 # Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 
 #
-# Copyright (c) 2013 by Delphix. All rights reserved.
+# Copyright (c) 2013, 2016 by Delphix. All rights reserved.
 #
 
 . $STF_SUITE/include/libtest.shlib
 
 DISK=${DISKS%% *}

@@ -36,13 +36,13 @@
 
 for i in 1 2 3; do
         dir=$TESTDIR.$i
         fs=$TESTPOOL/$TESTFS.$i
 
-        log_must $ZFS create $fs
-        log_must $MKDIR -p $dir
-        log_must $ZFS set mountpoint=$dir $fs
+        log_must zfs create $fs
+        log_must mkdir -p $dir
+        log_must zfs set mountpoint=$dir $fs
 
         log_must mounted $fs
 done
 
 log_pass