From 7517376f939d788a2622c84fe1f502799a74a0ae Mon Sep 17 00:00:00 2001 From: bunder2015 Date: Mon, 26 Jun 2017 17:48:54 -0400 Subject: 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 Reviewed-by: Brian Behlendorf Reviewed-by: George Melikov Reviewed-by: Giuseppe Di Natale Signed-off-by: bunder2015 Closes #6268 --- .../zfs-tests/tests/functional/cli_root/zfs_clone/zfs_clone_010_pos.ksh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/zfs-tests') 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" -- cgit v1.2.3