Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 15:44:49 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r337911 - head/tests/sys/opencrypto
Message-ID:  <201808161544.w7GFinK3055766@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808161544.w7GFinK3055766>