mirror of
https://github.com/openssl/openssl.git
synced 2024-12-27 06:21:43 +08:00
6ed34b3eff
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)
18 lines
583 B
Perl
18 lines
583 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2015-2020 The OpenSSL Project Authors. All Rights Reserved.
|
|
#
|
|
# Licensed under the Apache License 2.0 (the "License"). You may not use
|
|
# this file except in compliance with the License. You can obtain a copy
|
|
# in the file LICENSE in the source distribution or at
|
|
# https://www.openssl.org/source/license.html
|
|
|
|
|
|
use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir/;
|
|
use OpenSSL::Test::Simple;
|
|
|
|
setup("test_ct");
|
|
|
|
$ENV{CT_DIR} = srctop_dir("test", "ct");
|
|
$ENV{CERTS_DIR} = srctop_dir("test", "certs");
|
|
simple_test("test_ct", "ct_test", "ct", "ec");
|