Fix 80-test_ssl_old.t: only count the ciphers if there are any.
[openssl.git] / test / recipes / 80-test_ct.t
1 #! /usr/bin/env perl
2 # Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
3 #
4 # Licensed under the OpenSSL license (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
10 use OpenSSL::Test qw/:DEFAULT srctop_file srctop_dir/;
11 use OpenSSL::Test::Simple;
12
13 setup("test_ct");
14 $ENV{CTLOG_FILE} = srctop_file("test", "ct", "log_list.conf");
15 $ENV{CT_DIR} = srctop_dir("test", "ct");
16 $ENV{CERTS_DIR} = srctop_dir("test", "certs");
17 simple_test("test_ct", "ct_test", "ct", "ec");