diff options
Diffstat (limited to 'test/recipes/90-test_threads.t')
-rw-r--r-- | test/recipes/90-test_threads.t | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/recipes/90-test_threads.t b/test/recipes/90-test_threads.t index f46121a751..0410cd8007 100644 --- a/test/recipes/90-test_threads.t +++ b/test/recipes/90-test_threads.t @@ -8,7 +8,7 @@ use OpenSSL::Test::Simple; -use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir bldtop_dir bldtop_file/; +use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir bldtop_dir bldtop_file data_dir/; use OpenSSL::Test::Utils; use Cwd qw(abs_path); @@ -35,8 +35,8 @@ if (!$no_fips) { if ($no_fips) { $ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "default.cnf")); - ok(run(test(["threadstest"])), "running test_threads"); + ok(run(test(["threadstest", data_dir()])), "running test_threads"); } else { $ENV{OPENSSL_CONF} = abs_path(srctop_file("test", "default-and-fips.cnf")); - ok(run(test(["threadstest", "-fips"])), "running test_threads"); + ok(run(test(["threadstest", "-fips", data_dir()])), "running test_threads"); } |