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>

@@ -23,10 +23,14 @@
 #
 # Copyright 2007 Sun Microsystems, Inc.  All rights reserved.
 # Use is subject to license terms.
 #
 
+#
+# Copyright (c) 2016 by Delphix. All rights reserved.
+#
+
 . $STF_SUITE/tests/functional/atime/atime_common.kshlib
 
 #
 # DESCRIPTION:
 # When atime=off, verify the access time for files is not updated when read.

@@ -56,11 +60,11 @@
         typeset mtpt=$(get_prop mountpoint $dst)
 
         if [[ $dst == $TESTPOOL/$TESTFS@$TESTSNAP ]]; then
                 mtpt=$(snapshot_mountpoint $dst)
         else
-                log_must $ZFS set atime=off $dst
+                log_must zfs set atime=off $dst
         fi
 
         log_mustnot check_atime_updated $mtpt/$TESTFILE
 done