mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
Fix the sys/opencrypto/runtests test when aesni(4) is already loaded
Apparently kldstat requires the full module name, including busname Reported by: Jenkins MFC after: 2 weeks
This commit is contained in:
parent
78b9f0095b
commit
670e1da043
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=337911
@ -50,9 +50,9 @@ cleanup_tests()
|
||||
}
|
||||
trap cleanup_tests EXIT INT TERM
|
||||
|
||||
for required_module in aesni cryptodev; do
|
||||
for required_module in nexus/aesni cryptodev; do
|
||||
if ! kldstat -q -m $required_module; then
|
||||
kldload $required_module
|
||||
kldload ${required_module#nexus/}
|
||||
loaded_modules="$loaded_modules $required_module"
|
||||
fi
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user