mirror of
https://github.com/openssl/openssl.git
synced 2024-12-09 05:51:54 +08:00
6d872a838d
We reuse test/provider_internal_test.c and test/p_test.c, and get it loaded one more time via the configuration file test/provider_internal_test.conf To support different platform standards regarding module extensions, we generate test/provider_internal_test.conf Reviewed-by: Paul Dale <paul.dale@oracle.com> (Merged from https://github.com/openssl/openssl/pull/8549)
20 lines
678 B
Perl
20 lines
678 B
Perl
#! /usr/bin/env perl
|
|
# Copyright 2019 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 strict;
|
|
use OpenSSL::Test qw(:DEFAULT bldtop_dir bldtop_file);
|
|
use OpenSSL::Test::Simple;
|
|
use OpenSSL::Test::Utils;
|
|
|
|
setup("test_internal_provider");
|
|
|
|
$ENV{OPENSSL_MODULES} = bldtop_dir("test");
|
|
$ENV{OPENSSL_CONF} = bldtop_file("test", "provider_internal_test.conf");
|
|
|
|
simple_test("test_internal_provider", "provider_internal_test");
|