VirtualBox

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

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

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

檔案大小: 1.2 KB
 
1#! /usr/bin/env perl
2
3use strict;
4use warnings;
5use OpenSSL::Test qw/:DEFAULT data_file/;
6use OpenSSL::Test::Utils;
7
8setup("test_includes");
9
10plan skip_all => "test_includes doesn't work without posix-io"
11 if disabled("posix-io");
12
13delete $ENV{OPENSSL_CONF_INCLUDE};
14
15plan tests => # The number of tests being performed
16 6
17 + ($^O eq "VMS" ? 2 : 0);
18
19ok(run(test(["conf_include_test", data_file("includes.cnf")])), "test directory includes");
20ok(run(test(["conf_include_test", data_file("includes-file.cnf")])), "test file includes");
21ok(run(test(["conf_include_test", data_file("includes-eq.cnf")])), "test includes with equal character");
22ok(run(test(["conf_include_test", data_file("includes-eq-ws.cnf")])), "test includes with equal and whitespaces");
23if ($^O eq "VMS") {
24 ok(run(test(["conf_include_test", data_file("vms-includes.cnf")])),
25 "test directory includes, VMS syntax");
26 ok(run(test(["conf_include_test", data_file("vms-includes-file.cnf")])),
27 "test file includes, VMS syntax");
28}
29ok(run(test(["conf_include_test", "-f", data_file("includes-broken.cnf")])), "test broken includes");
30ok(run(test(["conf_include_test", "-f", data_file("incdir.cnf")])), "test includedir");
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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