]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/cli_root/zfs_inherit/zfs_inherit_001_neg.ksh
OpenZFS 7290 - ZFS test suite needs to control what utilities it can run
[mirror_zfs.git] / tests / zfs-tests / tests / functional / cli_root / zfs_inherit / zfs_inherit_001_neg.ksh
index 891e0e9df09649d862400a51254d2d948fc259c0..62f255ca38b771fdb05cd471dcda54ed4185eb95 100755 (executable)
 # Use is subject to license terms.
 #
 
+#
+# Copyright (c) 2016 by Delphix. All rights reserved.
+#
+
 . $STF_SUITE/include/libtest.shlib
 
 #
@@ -45,7 +49,7 @@ typeset props_str="type used available avail creation referenced refer \
                compressratio ratio mounted origin quota reservation \
                reserv volsize volblocksize volblock"
 
-$ZFS upgrade -v > /dev/null 2>&1
+zfs upgrade -v > /dev/null 2>&1
 if [[ $? -eq 0 ]]; then
        props_str="$props_str version"
 fi
@@ -62,7 +66,7 @@ for obj in $TESTPOOL/$TESTFS $TESTPOOL/$TESTVOL; do
        while [[ $i -lt ${#prop[*]} ]]; do
                orig_val=$(get_prop ${prop[i]} $obj)
 
-               log_mustnot $ZFS inherit ${prop[i]} $obj
+               log_mustnot zfs inherit ${prop[i]} $obj
 
                new_val=$(get_prop ${prop[i]} $obj)