Make OpenSSL::Test::setup() a bit more forgiving
authorRichard Levitte <levitte@openssl.org>
Sat, 5 Mar 2016 18:05:25 +0000 (19:05 +0100)
committerRichard Levitte <levitte@openssl.org>
Mon, 7 Mar 2016 18:04:28 +0000 (19:04 +0100)
commitfa657fc8df1744d1531aba2e269e03d73a12fda9
treef3c4bf1c414f0b762a1b82cf0eb7eb5b342a6b11
parentdb922318b3470db8629979f24d4f0f82e9561190
Make OpenSSL::Test::setup() a bit more forgiving

It was unexpected that OpenSSL::Test::setup() should be called twice
by the same recipe.  However, that may happen if a recipe combines
OpenSSL::Test and OpenSSL::Test::Simple, which can be a sensible thing
to do.  Therefore, we now allow it.

Reviewed-by: Rich Salz <rsalz@openssl.org>
test/testlib/OpenSSL/Test.pm