Add test for the provider configuration module
[openssl.git] / test / recipes / 02-test_internal_provider.t
1 #! /usr/bin/env perl
2 # Copyright 2019 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the Apache License 2.0 (the "License").  You may not use
5 # this file except in compliance with the License.  You can obtain a copy
6 # in the file LICENSE in the source distribution or at
7 # https://www.openssl.org/source/license.html
8
9 use strict;
10 use OpenSSL::Test qw(:DEFAULT bldtop_dir bldtop_file);
11 use OpenSSL::Test::Simple;
12 use OpenSSL::Test::Utils;
13
14 setup("test_internal_provider");
15
16 $ENV{OPENSSL_MODULES} = bldtop_dir("test");
17 $ENV{OPENSSL_CONF} = bldtop_file("test", "provider_internal_test.conf");
18
19 simple_test("test_internal_provider", "provider_internal_test");