Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 1 Oct 2018 15:59:06 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r339055 - stable/11/tests/sys/opencrypto
Message-ID:  <201810011559.w91Fx6SL008525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Mon Oct  1 15:59:06 2018
New Revision: 339055
URL: https://svnweb.freebsd.org/changeset/base/339055

Log:
  MFC r337911:
  
  Fix the sys/opencrypto/runtests test when aesni(4) is already loaded
  
  Apparently kldstat requires the full module name, including busname
  
  Reported by:	Jenkins

Modified:
  stable/11/tests/sys/opencrypto/runtests.sh
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/tests/sys/opencrypto/runtests.sh
==============================================================================
--- stable/11/tests/sys/opencrypto/runtests.sh	Mon Oct  1 15:57:49 2018	(r339054)
+++ stable/11/tests/sys/opencrypto/runtests.sh	Mon Oct  1 15:59:06 2018	(r339055)
@@ -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?201810011559.w91Fx6SL008525>