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/30-test_afalg.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/30-test_afalg.t')
-rw-r--r-- | test/recipes/30-test_afalg.t | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/recipes/30-test_afalg.t b/test/recipes/30-test_afalg.t index 363f4d4c0b..98ffc9908c 100644 --- a/test/recipes/30-test_afalg.t +++ b/test/recipes/30-test_afalg.t @@ -7,7 +7,7 @@ # https://www.openssl.org/source/license.html use strict; -use OpenSSL::Test qw/:DEFAULT bldtop_dir/; +use OpenSSL::Test qw/:DEFAULT/; use OpenSSL::Test::Utils; my $test_name = "test_afalg"; @@ -18,6 +18,4 @@ plan skip_all => "$test_name not supported for this build" plan tests => 1; -$ENV{OPENSSL_ENGINES} = bldtop_dir("engines"); - ok(run(test(["afalgtest"])), "running afalgtest"); |