Skip to content

Instantly share code, notes, and snippets.

@webmaster128
Last active August 29, 2015 14:17
Show Gist options
  • Select an option

  • Save webmaster128/5b825ccd9349b99aab49 to your computer and use it in GitHub Desktop.

Select an option

Save webmaster128/5b825ccd9349b99aab49 to your computer and use it in GitHub Desktop.
#!/bin/bash
suites=(block modes aead ocb stream hash mac pbkdf kdf keywrap transform rngs passhash9 bcrypt cryptobox tss rfc6979 bigint rsa rw dsa nr dh dlies elgamal ecc_pointmul ecdsa gost_3410 curve25519 mceliece ecc_unit ecdsa_unit ecdh_unit pk_keygen cvc x509 nist_x509 tls)
for suite in "${suites[@]}"; do
echo "Run test '$suite' ..."
./botan-test "$suite"
retval=$?
if [[ $retval != 0 ]]; then
echo "Error in last test! Return value: $retval"
exit 1
fi
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment