Skip to content

Commit

Permalink
fixup! Add a test recipe for testing the speed command
Browse files Browse the repository at this point in the history
  • Loading branch information
mattcaswell committed Aug 12, 2024
1 parent b0f8222 commit e8f0d28
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions test/recipes/20-test_speed.t
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,16 @@ ok(run(app(['openssl', 'speed', '-testmode', '-misalign', 1])),

SKIP: {
skip "Multiblock is not supported by this OpenSSL build", 1
if disabled("multiblock");
if disabled("multiblock")
# The AES-128-CBC-HMAC-SHA1 cipher isn't available on all platforms
# We test its availability without the "-mb" option. We only do the
# multiblock test via "-mb" if the cipher seems to exist.
|| !run(app(['openssl', 'speed', '-testmode', '-evp',
'AES-128-CBC-HMAC-SHA1']));

ok(run(app(['openssl', 'speed', '-testmode', '-mb', '-evp',
'AES-128-CBC-HMAC-SHA1'])),
"Test the EVP, bytes and mb options");
"Test the EVP and mb options");
}

ok(run(app(['openssl', 'speed', '-testmode', '-kem-algorithms'])),
Expand Down

0 comments on commit e8f0d28

Please sign in to comment.