mirror of
https://github.com/openssl/openssl.git
synced 2025-02-17 14:32:04 +08:00
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:
parent
46e5b661d4
commit
c537e74ba3
@ -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");
|
||||
|
@ -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");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user