1*66bae5e7Schristos#! /usr/bin/env perl
2*66bae5e7Schristos# Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
3*66bae5e7Schristos#
4*66bae5e7Schristos# Licensed under the Apache License 2.0 (the "License").  You may not use
5*66bae5e7Schristos# this file except in compliance with the License.  You can obtain a copy
6*66bae5e7Schristos# in the file LICENSE in the source distribution or at
7*66bae5e7Schristos# https://www.openssl.org/source/license.html
8*66bae5e7Schristos
9*66bae5e7Schristosuse strict;
10*66bae5e7Schristosuse OpenSSL::Test qw(:DEFAULT bldtop_dir);
11*66bae5e7Schristosuse OpenSSL::Test::Utils;
12*66bae5e7Schristos
13*66bae5e7Schristossetup("test_provider");
14*66bae5e7Schristos
15*66bae5e7Schristosplan tests => 2;
16*66bae5e7Schristos
17*66bae5e7Schristosok(run(test(['provider_test'])), "provider_test");
18*66bae5e7Schristos
19*66bae5e7Schristos$ENV{"OPENSSL_MODULES"} = bldtop_dir("test");
20*66bae5e7Schristos
21*66bae5e7Schristosok(run(test(['provider_test', '-loaded'])), "provider_test -loaded");
22