summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbunder2015 <[email protected]>2017-06-26 17:48:54 -0400
committerBrian Behlendorf <[email protected]>2017-06-26 14:48:54 -0700
commit7517376f939d788a2622c84fe1f502799a74a0ae (patch)
tree16b05fbe5253376fc8c210813feceaa3a75ecc21 /tests
parent03928896e114cfc4752c089727474134a2b0204b (diff)
Fix arithmetic error message in zfs_clone_010_pos
zfs_clone_010_pos.ksh: line 234: ZFS_MAXPROPLEN: arithmetic syntax error Reviewed-by: Kash Pande <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Reviewed-by: George Melikov <[email protected]> Reviewed-by: Giuseppe Di Natale <[email protected]> Signed-off-by: bunder2015 <[email protected]> Closes #6268
Diffstat (limited to 'tests')
-rwxr-xr-xtests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh
index 8b72d47a0..40cabf649 100755
--- a/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh
+++ b/tests/zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh
@@ -231,7 +231,7 @@ while((i <= $(( ZFS_MAXPROPLEN/200+1 )))); do
done
clone_list=$(zfs list -o clones $fs@snap)
char_count=$(echo "$clone_list" | tail -1 | wc | awk '{print $3}')
-[[ $char_count -eq ZFS_MAXPROPLEN ]] || \
+[[ $char_count -eq $ZFS_MAXPROPLEN ]] || \
log_fail "Clone list not truncated correctly. Unexpected character count" \
"$char_count"