]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/30-test_provider_status.t
Update copyright year
[thirdparty/openssl.git] / test / recipes / 30-test_provider_status.t
CommitLineData
04cb5ec0 1#! /usr/bin/env perl
8020d79b 2# Copyright 2020-2021 The OpenSSL Project Authors. All Rights Reserved.
04cb5ec0
SL
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
10use strict;
11use warnings;
12
13use OpenSSL::Test qw(:DEFAULT data_file bldtop_dir srctop_file srctop_dir bldtop_file);
14use OpenSSL::Test::Utils;
15
16BEGIN {
17setup("test_provider_status");
18}
19
20use lib srctop_dir('Configurations');
21use lib bldtop_dir('.');
04cb5ec0
SL
22
23my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
24
25plan skip_all => "provider_status is not supported by this test"
26 if $no_fips;
27
e25b4db7 28plan tests => 1;
04cb5ec0
SL
29
30ok(run(test(["provider_status_test", "-config", srctop_file("test","fips.cnf"),
31 "-provider_name", "fips"])),
32 "running provider_status_test");