Last change
on this file since 107935 was 105949, checked in by vboxsync, 5 months ago |
openssl-3.1.7: Applied and adjusted our OpenSSL changes to 3.1.7. bugref:10757
|
File size:
1.1 KB
|
Line | |
---|
1 | #! /usr/bin/env perl
|
---|
2 | # Copyright 2021 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 |
|
---|
10 | use OpenSSL::Test::Simple;
|
---|
11 | use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir bldtop_dir/;
|
---|
12 | use OpenSSL::Test::Utils;
|
---|
13 |
|
---|
14 | BEGIN {
|
---|
15 | setup("test_prov_config");
|
---|
16 | }
|
---|
17 |
|
---|
18 | use lib srctop_dir('Configurations');
|
---|
19 | use lib bldtop_dir('.');
|
---|
20 |
|
---|
21 | my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
|
---|
22 |
|
---|
23 | plan tests => 2;
|
---|
24 |
|
---|
25 | ok(run(test(["prov_config_test", srctop_file("test", "default.cnf"),
|
---|
26 | srctop_file("test", "recursive.cnf")])),
|
---|
27 | "running prov_config_test default.cnf");
|
---|
28 |
|
---|
29 | SKIP: {
|
---|
30 | skip "Skipping FIPS test in this build", 1 if $no_fips;
|
---|
31 |
|
---|
32 | ok(run(test(["prov_config_test", srctop_file("test", "fips.cnf"),
|
---|
33 | srctop_file("test", "recursive.cnf")])),
|
---|
34 | "running prov_config_test fips.cnf");
|
---|
35 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.