]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/cli_user/misc/zfs_send_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_user / misc / zfs_send_001_neg.ksh
index 0e3af12913773b9dde0afeed6802233f3f80cf12..d5dfe37287da7acf7b7188eb922b5f5298c57182 100755 (executable)
@@ -26,7 +26,7 @@
 #
 
 #
-# Copyright (c) 2013 by Delphix. All rights reserved.
+# Copyright (c) 2013, 2016 by Delphix. All rights reserved.
 #
 
 . $STF_SUITE/include/libtest.shlib
@@ -47,14 +47,14 @@ function cleanup
 {
        if [ -e /tmp/zfstest_datastream.$$ ]
        then
-               log_must $RM /tmp/zfstest_datastream.$$
+               log_must rm /tmp/zfstest_datastream.$$
        fi
 }
 
 log_assert "zfs send returns an error when run as a user"
 log_onexit cleanup
 
-log_mustnot eval "$ZFS send $TESTPOOL/$TESTFS@snap > /tmp/zfstest_datastream.$$"
+log_mustnot eval "zfs send $TESTPOOL/$TESTFS@snap > /tmp/zfstest_datastream.$$"
 
 # Now check that the above command actually did nothing