Simplify very simple test recipes further.
authorRichard Levitte <levitte@openssl.org>
Tue, 21 Apr 2015 17:29:01 +0000 (19:29 +0200)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Sep 2015 14:10:58 +0000 (16:10 +0200)
commit93de4f58ef8be2cb764343cb3102d41c81f11593
tree24240fe186ce101496f758d80e22a7bb03879129
parentd11b43fdd30f084c19136359d0e3e4a06631abf9
Simplify very simple test recipes further.

Very simple test recipes easily become tedious, so they might benefit
from being made as simple as possible.  Therefore, OpenSSL::Test::Simple
is born.  It currently provides but one function, simple_test(), which
takes a minimum of two parameters (test name and program to run), with
the optional third, being the algorithm to be checked for before
running the test itself.

All recipes with that simple thing to do have been rewritten to be as
minimal as possible.

Reviewed-by: Rich Salz <rsalz@openssl.org>
30 files changed:
test/recipes/05-test_bf.t
test/recipes/05-test_cast.t
test/recipes/05-test_des.t
test/recipes/05-test_hmac.t
test/recipes/05-test_idea.t
test/recipes/05-test_md2.t
test/recipes/05-test_md4.t
test/recipes/05-test_md5.t
test/recipes/05-test_mdc2.t
test/recipes/05-test_rand.t
test/recipes/05-test_rc2.t
test/recipes/05-test_rc4.t
test/recipes/05-test_rc5.t
test/recipes/05-test_rmd.t
test/recipes/05-test_sha1.t
test/recipes/05-test_sha256.t
test/recipes/05-test_sha512.t
test/recipes/05-test_wp.t
test/recipes/10-test_exp.t
test/recipes/15-test_dh.t
test/recipes/15-test_ecdh.t
test/recipes/15-test_ecdsa.t
test/recipes/90-test_constant_time.t
test/recipes/90-test_heartbeat.t
test/recipes/90-test_ige.t
test/recipes/90-test_jpake.t
test/recipes/90-test_p5_crpt2.t
test/recipes/90-test_srp.t
test/recipes/90-test_v3name.t
test/testlib/OpenSSL/Test/Simple.pm [new file with mode: 0644]