]> git.proxmox.com Git - mirror_zfs.git/blobdiff - tests/zfs-tests/tests/functional/cli_root/cli_common.kshlib
OpenZFS 7290 - ZFS test suite needs to control what utilities it can run
[mirror_zfs.git] / tests / zfs-tests / tests / functional / cli_root / cli_common.kshlib
index 06e794ed85c19b8500527db2484aaa4b7cc6a872..4788de59866393eac58a000fbd71d69e403e05c0 100644 (file)
 # Use is subject to license terms.
 #
 
+#
+# Copyright (c) 2016 by Delphix. All rights reserved.
+#
+
 . $STF_SUITE/include/libtest.shlib
 
 #
@@ -31,7 +35,7 @@
 #
 function get_cksum # <file path>
 {
-       return $($CKSUM $1 | $AWK '{print $1 $2}')
+       return $(cksum $1 | awk '{print $1 $2}')
 }
 
 #