Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110119336
D20034.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
659 B
Referenced Files
None
Subscribers
None
D20034.diff
View Options
Index: head/tests/sys/opencrypto/cryptotest.py
===================================================================
--- head/tests/sys/opencrypto/cryptotest.py
+++ head/tests/sys/opencrypto/cryptotest.py
@@ -42,7 +42,9 @@
katdir = '/usr/local/share/nist-kat'
def katg(base, glob):
- assert os.path.exists(os.path.join(katdir, base)), "Please 'pkg install nist-kat'"
+ assert os.path.exists(katdir), "Please 'pkg install nist-kat'"
+ if not os.path.exists(os.path.join(katdir, base)):
+ raise unittest.SkipTest("Missing %s test vectors" % (base))
return iglob(os.path.join(katdir, base, glob))
aesmodules = [ 'cryptosoft0', 'aesni0', 'ccr0', 'ccp0' ]
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Fri, Feb 14, 9:19 PM (21 h, 17 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16648091
Default Alt Text
D20034.diff (659 B)
Attached To
Mode
D20034: Skip tests with missing test vectors instead of failing.
Attached
Detach File
Event Timeline
Log In to Comment