]> git.ipfire.org Git - thirdparty/openssl.git/blame - test/recipes/25-test_verify.t
Add recipes for tests related to certificates
[thirdparty/openssl.git] / test / recipes / 25-test_verify.t
CommitLineData
4650de3e
RL
1#! /usr/bin/perl
2
3use strict;
4use warnings;
5
6use File::Spec::Functions qw/canonpath/;
7use Test::More;
8use OpenSSL::Test qw/:DEFAULT top_dir top_file/;
9
10setup("test_verify");
11
12plan tests => 1;
13
14note("Expect some failures and expired certificate");
15ok(run(app(["openssl", "verify", "-CApath", top_dir("certs", "demo"),
16 glob(top_file("certs", "demo", "*.pem"))])), "verying demo certs");