tests: redacted_send: explicitly assume instant /dev on non-Linux

The users spew udevadm ENOENTs on FreeBSD

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Reviewed-by: John Kennedy <john.kennedy@delphix.com>
Reviewed-by: Ryan Moeller <ryan@iXsystems.com>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes #13259
This commit is contained in:
наб 2022-03-09 00:56:32 +01:00 committed by Brian Behlendorf
parent 9423c932d4
commit b9b763111c
1 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,10 @@
. $STF_SUITE/tests/functional/rsend/rsend.kshlib . $STF_SUITE/tests/functional/rsend/rsend.kshlib
. $STF_SUITE/tests/functional/redacted_send/redacted.cfg . $STF_SUITE/tests/functional/redacted_send/redacted.cfg
if ! is_linux; then
alias udevadm=:
fi
function setup_dataset function setup_dataset
{ {
typeset ds_name=$1 typeset ds_name=$1