1*e7be843bSPierre Pronchery#! /usr/bin/env perl 2*e7be843bSPierre Pronchery# Copyright 2016-2022 The OpenSSL Project Authors. All Rights Reserved. 3*e7be843bSPierre Pronchery# 4*e7be843bSPierre Pronchery# Licensed under the Apache License 2.0 (the "License"). You may not use 5*e7be843bSPierre Pronchery# this file except in compliance with the License. You can obtain a copy 6*e7be843bSPierre Pronchery# in the file LICENSE in the source distribution or at 7*e7be843bSPierre Pronchery# https://www.openssl.org/source/license.html 8*e7be843bSPierre Pronchery 9*e7be843bSPierre Proncheryuse OpenSSL::Test::Utils; 10*e7be843bSPierre Proncheryuse OpenSSL::Test qw/:DEFAULT srctop_dir bldtop_dir/; 11*e7be843bSPierre Pronchery 12*e7be843bSPierre ProncheryBEGIN { 13*e7be843bSPierre Pronchery setup("test_cert_comp"); 14*e7be843bSPierre Pronchery} 15*e7be843bSPierre Pronchery 16*e7be843bSPierre Proncheryuse lib srctop_dir('Configurations'); 17*e7be843bSPierre Proncheryuse lib bldtop_dir('.'); 18*e7be843bSPierre Pronchery 19*e7be843bSPierre Proncheryplan skip_all => "Certificate compression is disabled in this OpenSSL build" 20*e7be843bSPierre Pronchery if disabled("comp") || (disabled("brotli") && disabled("zstd") && disabled("zlib")); 21*e7be843bSPierre Pronchery 22*e7be843bSPierre Proncheryplan tests => 1; 23*e7be843bSPierre Pronchery 24*e7be843bSPierre Proncheryok(run(test(["cert_comp_test", srctop_dir("test", "certs")])), "running cert_comp_test"); 25