diff options
author | Matt Caswell <matt@openssl.org> | 2020-04-30 16:08:57 +0100 |
---|---|---|
committer | Matt Caswell <matt@openssl.org> | 2020-05-06 11:40:53 +0100 |
commit | 6ed34b3eff68b79ce9fb00d84c95c950d8bc7bdd (patch) | |
tree | 9b85f6781b18c14fe81f624707088349dc6af1c1 /test/recipes/90-test_includes.t | |
parent | 500a7615173c8ae2362a05e1affd376ab2b41a94 (diff) |
Centralise Environment Variables for the tests
The test_includes test was failing if OPENSSL_CONF_INCLUDE happened to
be set in the user's environment. To ensure that no tests accidentally
use this or other enviroment variables from the user's environment we
automatically set them centrally for all tests.
Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org>
(Merged from https://github.com/openssl/openssl/pull/11691)
Diffstat (limited to 'test/recipes/90-test_includes.t')
-rw-r--r-- | test/recipes/90-test_includes.t | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/recipes/90-test_includes.t b/test/recipes/90-test_includes.t index 301f6c1560..add3813a64 100644 --- a/test/recipes/90-test_includes.t +++ b/test/recipes/90-test_includes.t @@ -10,6 +10,8 @@ setup("test_includes"); plan skip_all => "test_includes doesn't work without posix-io" if disabled("posix-io"); +delete $ENV{OPENSSL_CONF_INCLUDE}; + plan tests => # The number of tests being performed 5 + ($^O eq "VMS" ? 2 : 0); |