diff options
Diffstat (limited to 'tests/zfs-tests/include/properties.shlib')
-rw-r--r-- | tests/zfs-tests/include/properties.shlib | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/zfs-tests/include/properties.shlib b/tests/zfs-tests/include/properties.shlib index cc37e769d..ea8449fc6 100644 --- a/tests/zfs-tests/include/properties.shlib +++ b/tests/zfs-tests/include/properties.shlib @@ -51,7 +51,7 @@ function get_rand_prop typeset prop_max=$((${#prop_array[@]} - 1)) typeset -i i - for i in $(shuf -i $start-$prop_max -n $num_props); do + for i in $(range_shuffle $start $prop_max | head -n $num_props); do retstr="${prop_array[$i]} $retstr" done echo $retstr |