2019-02-21 05:55:43 +08:00
|
|
|
#! /usr/bin/env perl
|
2021-05-20 21:22:33 +08:00
|
|
|
# Copyright 2019-2021 The OpenSSL Project Authors. All Rights Reserved.
|
2019-02-21 05:55:43 +08:00
|
|
|
#
|
|
|
|
# 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);
|
|
|
|
use OpenSSL::Test::Utils;
|
|
|
|
|
|
|
|
setup("test_provider");
|
|
|
|
|
2021-04-22 22:58:50 +08:00
|
|
|
plan tests => 2;
|
|
|
|
|
|
|
|
ok(run(test(['provider_test'])), "provider_test");
|
|
|
|
|
2019-02-21 05:55:43 +08:00
|
|
|
$ENV{"OPENSSL_MODULES"} = bldtop_dir("test");
|
|
|
|
|
2021-04-22 22:58:50 +08:00
|
|
|
ok(run(test(['provider_test', '-loaded'])), "provider_test -loaded");
|