svn commit: r337911 - head/tests/sys/opencrypto
Alan Somers
asomers at FreeBSD.org
Thu Aug 16 15:44:49 UTC 2018
Author: asomers
Date: Thu Aug 16 15:44:48 2018
New Revision: 337911
URL: https://svnweb.freebsd.org/changeset/base/337911
Log:
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
Modified:
head/tests/sys/opencrypto/runtests.sh
Modified: head/tests/sys/opencrypto/runtests.sh
==============================================================================
--- head/tests/sys/opencrypto/runtests.sh Thu Aug 16 15:32:17 2018 (r337910)
+++ head/tests/sys/opencrypto/runtests.sh Thu Aug 16 15:44:48 2018 (r337911)
@@ -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
More information about the svn-src-all
mailing list