From 6ed34b3eff68b79ce9fb00d84c95c950d8bc7bdd Mon Sep 17 00:00:00 2001 From: Matt Caswell Date: Thu, 30 Apr 2020 16:08:57 +0100 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/11691) --- test/recipes/30-test_afalg.t | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'test/recipes/30-test_afalg.t') 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"); -- cgit v1.2.3