aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zfs-tests/include/libtest.shlib
diff options
context:
space:
mode:
Diffstat (limited to 'tests/zfs-tests/include/libtest.shlib')
-rw-r--r--tests/zfs-tests/include/libtest.shlib6
1 files changed, 1 insertions, 5 deletions
diff --git a/tests/zfs-tests/include/libtest.shlib b/tests/zfs-tests/include/libtest.shlib
index d9ba374f2..9c089990b 100644
--- a/tests/zfs-tests/include/libtest.shlib
+++ b/tests/zfs-tests/include/libtest.shlib
@@ -3966,11 +3966,7 @@ function range_shuffle # begin end
typeset -i begin=$1
typeset -i end=$2
- if is_freebsd; then
- seq ${begin} ${end} | random -f -
- else
- shuf -i ${begin}-${end}
- fi
+ seq ${begin} ${end} | sort -R
}
#