svn commit: r323899 - head/tests/sys/opencrypto

Conrad Meyer cem at FreeBSD.org
Fri Sep 22 04:41:50 UTC 2017


Author: cem
Date: Fri Sep 22 04:41:48 2017
New Revision: 323899
URL: https://svnweb.freebsd.org/changeset/base/323899

Log:
  cryptotest.py: Like r323869, skip SHA HMAC tests on non-SHA drivers
  
  Sponsored by:	Dell EMC Isilon

Modified:
  head/tests/sys/opencrypto/cryptotest.py

Modified: head/tests/sys/opencrypto/cryptotest.py
==============================================================================
--- head/tests/sys/opencrypto/cryptotest.py	Fri Sep 22 04:25:44 2017	(r323898)
+++ head/tests/sys/opencrypto/cryptotest.py	Fri Sep 22 04:41:48 2017	(r323899)
@@ -237,6 +237,7 @@ def GenTestCase(cname):
 			#for i in iglob('SHA1*'):
 			#	self.runSHA(i)
 
+		@unittest.skipIf(cname not in shamodules, 'skipping SHA on %s' % `cname`)
 		def test_sha1hmac(self):
 			for i in katg('hmactestvectors', 'HMAC.rsp'):
 				self.runSHA1HMAC(i)


More information about the svn-src-all mailing list