30-test_evp.t 737 字节
Newer Older
R
Rich Salz 已提交
1 2 3 4 5 6 7 8
#! /usr/bin/env perl
# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
#
# Licensed under the OpenSSL license (the "License").  You may not use
# this file except in compliance with the License.  You can obtain a copy
# in the file LICENSE in the source distribution or at
# https://www.openssl.org/source/license.html

9 10 11 12

use strict;
use warnings;

13
use OpenSSL::Test qw/:DEFAULT data_file/;
14 15 16

setup("test_evp");

17
my @files = ( "evpciph.txt", "evpdigest.txt", "evpencod.txt", "evpkdf.txt",
P
Pauli 已提交
18 19
    "evpmac.txt", "evppbe.txt", "evppkey.txt", "evppkey_ecc.txt",
    "evpcase.txt" );
20

21
plan tests => scalar(@files);
22 23

foreach my $f ( @files ) {
24
    ok(run(test(["evp_test", data_file("$f")])),
25 26
       "running evp_test $f");
}