test/context_internal_test.c: don't initialize as a separate test
authorRichard Levitte <levitte@openssl.org>
Wed, 20 Feb 2019 07:21:02 +0000 (08:21 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 20 Feb 2019 17:48:49 +0000 (18:48 +0100)
commit0b76ce99aaa5678b44cb99df464e977975747928
treec738783fb10fbe885b94911e84fffb0bb99f2b4e
parent7dec815ecde29c1eabed6b5832c7025c4eafad19
test/context_internal_test.c: don't initialize as a separate test

Because test order can be randomized, running foo_init() as a separate
test is unsafe practice.  Instead, we make it possible to call it
multiple times, and call it at the start of each separate test.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/8288)
test/context_internal_test.c