VirtualBox

source: vbox/trunk/src/libs/openssl-3.0.7/test/recipes/30-test_prov_config.t@ 99507

最後變更 在這個檔案從99507是 94320,由 vboxsync 提交於 3 年 前

libs/openssl-3.0.1: Export to OSE and fix copyright headers in Makefiles, bugref:10128

檔案大小: 944 位元組
 
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
10use OpenSSL::Test::Simple;
11use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir bldtop_dir/;
12use OpenSSL::Test::Utils;
13
14BEGIN {
15setup("test_prov_config");
16}
17
18use lib srctop_dir('Configurations');
19use lib bldtop_dir('.');
20
21my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
22
23plan tests => 2;
24
25ok(run(test(["prov_config_test", srctop_file("test", "default.cnf")])),
26 "running prov_config_test default.cnf");
27SKIP: {
28 skip "Skipping FIPS test in this build", 1 if $no_fips;
29
30 ok(run(test(["prov_config_test", srctop_file("test", "fips.cnf")])),
31 "running prov_config_test fips.cnf");
32}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette