mirror of
https://git.proxmox.com/git/mirror_zfs.git
synced 2026-05-26 04:07:45 +03:00
ZTS: Provide an alternative to shuf for FreeBSD
There was a shuf package but the upstream for the port has recently disappeared, so it is no longer available. Create a function to hide the usage of shuf. Implement using seq|random on FreeBSD. Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Reviewed-by: John Kennedy <john.kennedy@delphix.com> Signed-off-by: Ryan Moeller <ryan@ixsystems.com> Closes #9824
This commit is contained in:
committed by
Brian Behlendorf
parent
4abd7d80b2
commit
90ae48733c
@@ -82,7 +82,6 @@ export SYSTEM_FILES_COMMON='arp
|
||||
seq
|
||||
setfacl
|
||||
sh
|
||||
shuf
|
||||
sleep
|
||||
sort
|
||||
ssh
|
||||
@@ -122,6 +121,7 @@ export SYSTEM_FILES_FREEBSD='chflags
|
||||
mkfifo
|
||||
newfs
|
||||
pw
|
||||
random
|
||||
sha256
|
||||
swapctl
|
||||
sysctl
|
||||
@@ -157,6 +157,7 @@ export SYSTEM_FILES_LINUX='attr
|
||||
setenforce
|
||||
setfattr
|
||||
sha256sum
|
||||
shuf
|
||||
udevadm
|
||||
useradd
|
||||
userdel
|
||||
|
||||
Reference in New Issue
Block a user