Move bn and evp test programs input data to their respective data dir

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/3472)
This commit is contained in:
Richard Levitte 2017-05-16 08:57:33 +02:00
parent 46e5b661d4
commit c537e74ba3
14 changed files with 4 additions and 4 deletions

View File

@ -12,7 +12,7 @@ use warnings;
use Math::BigInt;
use OpenSSL::Test qw/:DEFAULT srctop_file/;
use OpenSSL::Test qw/:DEFAULT data_file/;
setup("test_bn");
@ -22,7 +22,7 @@ my @files = (
plan tests => 1 + scalar(@files);
foreach my $f ( @files ) {
ok(run(test(["bntest", srctop_file("test", $f)])),
ok(run(test(["bntest", data_file($f)])),
"running bntest $f");
}
ok(run(test(["bntest"])), "running bntest");

View File

@ -10,7 +10,7 @@
use strict;
use warnings;
use OpenSSL::Test qw/:DEFAULT srctop_file/;
use OpenSSL::Test qw/:DEFAULT data_file/;
setup("test_evp");
@ -20,6 +20,6 @@ my @files = ( "evpciph.txt", "evpdigest.txt", "evpencod.txt", "evpkdf.txt",
plan tests => scalar(@files);
foreach my $f ( @files ) {
ok(run(test(["evp_test", srctop_file("test", "$f")])),
ok(run(test(["evp_test", data_file("$f")])),
"running evp_test $f");
}