VirtualBox

source: vbox/trunk/src/libs/openssl-3.3.2/test/recipes/75-test_quicapi.t@ 108206

Last change on this file since 108206 was 108206, checked in by vboxsync, 3 months ago

openssl-3.3.2: Exported all files to OSE and removed .scm-settings ​bugref:10757

  • Property svn:eol-style set to LF
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 1.5 KB
Line 
1#! /usr/bin/env perl
2# Copyright 2022-2023 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::Utils;
11use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir bldtop_dir/;
12
13BEGIN {
14setup("test_quicapi");
15}
16
17use lib srctop_dir('Configurations');
18use lib bldtop_dir('.');
19
20my $no_fips = disabled('fips') || ($ENV{NO_FIPS} // 0);
21
22plan skip_all => "QUIC protocol is not supported by this OpenSSL build"
23 if disabled('quic');
24
25plan skip_all => "These tests are not supported in a fuzz build"
26 if config('options') =~ /-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION|enable-fuzz-afl/;
27
28plan tests =>
29 ($no_fips ? 0 : 1) # quicapitest with fips
30 + 1; # quicapitest with default provider
31
32ok(run(test(["quicapitest", "default",
33 srctop_file("test", "default.cnf"),
34 srctop_dir("test", "certs"),
35 srctop_dir("test", "recipes", "75-test_quicapi_data")])),
36 "running quicapitest");
37
38unless ($no_fips) {
39 ok(run(test(["quicapitest", "fips",
40 srctop_file("test", "fips-and-base.cnf"),
41 srctop_dir("test", "certs"),
42 srctop_dir("test", "recipes", "75-test_quicapi_data")])),
43 "running quicapitest");
44}
Note: See TracBrowser for help on using the repository browser.

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