]> git.ipfire.org Git - thirdparty/openssl.git/blob - test/recipes/90-test_cert_comp.t
Raise an error on syscall failure in tls_retry_write_records
[thirdparty/openssl.git] / test / recipes / 90-test_cert_comp.t
1 #! /usr/bin/env perl
2 # Copyright 2016-2022 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 use OpenSSL::Test::Utils;
10 use OpenSSL::Test qw/:DEFAULT srctop_dir bldtop_dir/;
11
12 BEGIN {
13 setup("test_cert_comp");
14 }
15
16 use lib srctop_dir('Configurations');
17 use lib bldtop_dir('.');
18
19 plan skip_all => "Certificate compression is disabled in this OpenSSL build"
20 if disabled("comp") || (disabled("brotli") && disabled("zstd") && disabled("zlib"));
21
22 plan tests => 1;
23
24 ok(run(test(["cert_comp_test", srctop_dir("test", "certs")])), "running cert_comp_test");