Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Sep 2017 04:41:49 +0000 (UTC)
From:      Conrad Meyer <cem@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r323899 - head/tests/sys/opencrypto
Message-ID:  <201709220441.v8M4fngZ034519@repo.freebsd.org>

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



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