From 67e4d800ece687123d698f15a57a5d9d0dbb2949 Mon Sep 17 00:00:00 2001 From: Conrad Meyer Date: Fri, 22 Sep 2017 04:41:48 +0000 Subject: [PATCH] cryptotest.py: Like r323869, skip SHA HMAC tests on non-SHA drivers Sponsored by: Dell EMC Isilon --- tests/sys/opencrypto/cryptotest.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/sys/opencrypto/cryptotest.py b/tests/sys/opencrypto/cryptotest.py index d21e7ebc2d26..e82c2c887647 100644 --- a/tests/sys/opencrypto/cryptotest.py +++ b/tests/sys/opencrypto/cryptotest.py @@ -237,6 +237,7 @@ def test_sha(self): #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)