summaryrefslogtreecommitdiff
path: root/test/run_tests.pl
diff options
context:
space:
mode:
authorKurt Roeckx <kurt@roeckx.be>2018-04-28 23:26:22 +0200
committerKurt Roeckx <kurt@roeckx.be>2018-04-30 12:00:51 +0200
commitd1ae34e92d1ae11a9b650e85790a907e5939cdf6 (patch)
tree504d60ad0607967adc8fed9d810a242f53e582b3 /test/run_tests.pl
parent06444da464c038d7869908aaa26eaa728ae3a032 (diff)
downloadopenssl-new-d1ae34e92d1ae11a9b650e85790a907e5939cdf6.tar.gz
Use the config file from the source not the host for the tests
Fixes: #6046 Reviewed-by: Rich Salz <rsalz@openssl.org> GH: #6125
Diffstat (limited to 'test/run_tests.pl')
-rw-r--r--test/run_tests.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/run_tests.pl b/test/run_tests.pl
index 6343ec7bc3..56b5ad11e3 100644
--- a/test/run_tests.pl
+++ b/test/run_tests.pl
@@ -28,6 +28,8 @@ my $bldtop = $ENV{BLDTOP} || $ENV{TOP};
my $recipesdir = catdir($srctop, "test", "recipes");
my $libdir = rel2abs(catdir($srctop, "util", "perl"));
+$ENV{OPENSSL_CONF} = catdir($srctop, "apps", "openssl.cnf");
+
my %tapargs =
( verbosity => $ENV{VERBOSE} || $ENV{V} || $ENV{HARNESS_VERBOSE} ? 1 : 0,
lib => [ $libdir ],