aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDmitry Belyavskiy <beldmit@users.noreply.github.com>2019-08-28 12:10:51 +0300
committerGitHub <noreply@github.com>2019-08-28 12:10:51 +0300
commitecad16119a101a1f1947a80e9f630ac2dc2c2794 (patch)
treefb48f91533d9ee901b29823f4e026c9ecccebd75 /test
parent1beb7ad2f17b32b751c01802d80d269f123dc311 (diff)
parent13ae67e29336182a2cd5718b56155216f0e3ddf5 (diff)
downloadgost-engine-ecad16119a101a1f1947a80e9f630ac2dc2c2794.zip
gost-engine-ecad16119a101a1f1947a80e9f630ac2dc2c2794.tar.gz
gost-engine-ecad16119a101a1f1947a80e9f630ac2dc2c2794.tar.bz2
Merge pull request #166 from levitte/cleanup-tests
Cleanup tests
Diffstat (limited to 'test')
-rw-r--r--test/00-engine.t5
-rw-r--r--test/01-digest.t5
-rw-r--r--test/02-mac.t5
-rw-r--r--test/03-encrypt.t6
-rw-r--r--test/04-pkey.t5
-rw-r--r--test/empty.cnf0
6 files changed, 0 insertions, 26 deletions
diff --git a/test/00-engine.t b/test/00-engine.t
index e6685aa..7c3c985 100644
--- a/test/00-engine.t
+++ b/test/00-engine.t
@@ -9,11 +9,6 @@ open (my $F,">","testdata.dat");
print $F "12345670" x 128;
close $F;
-# Set OPENSSL_ENGINES environment variable to just built engine
-if(!defined $ENV{'OPENSSL_ENGINES'}){
- $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs");
-}
-
my $key='0123456789abcdef' x 2;
#
diff --git a/test/01-digest.t b/test/01-digest.t
index 63cd973..b3a6355 100644
--- a/test/01-digest.t
+++ b/test/01-digest.t
@@ -1,12 +1,7 @@
#!/usr/bin/perl
use Test2::V0;
plan(16);
-use Cwd 'abs_path';
-# Set OPENSSL_ENGINES environment variable to just built engine
-if(!defined $ENV{'OPENSSL_ENGINES'}){
- $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs");
-}
# Set engine name from environment to allow testing of different engines
my $engine=$ENV{'ENGINE_NAME'}||"gost";
# Reopen STDERR to eliminate extra output
diff --git a/test/02-mac.t b/test/02-mac.t
index f3bbe99..9dca47e 100644
--- a/test/02-mac.t
+++ b/test/02-mac.t
@@ -1,7 +1,6 @@
#!/usr/bin/perl
use Test2::V0;
plan(19);
-use Cwd 'abs_path';
# prepare data for
my $F;
@@ -12,10 +11,6 @@ close $F;
open $F,">","testbig.dat";
print $F ("12345670" x 8 . "\n") x 4096;
close $F;
-# Set OPENSSL_ENGINES environment variable to just built engine
-if(!defined $ENV{'OPENSSL_ENGINES'}){
- $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs");
-}
my $key='0123456789abcdef' x 2;
diff --git a/test/03-encrypt.t b/test/03-encrypt.t
index 6b1d593..408278a 100644
--- a/test/03-encrypt.t
+++ b/test/03-encrypt.t
@@ -11,12 +11,6 @@ my $use_config = 1;
# prepare data for
-
-# Set OPENSSL_ENGINES environment variable to just built engine
-if(!defined $ENV{'OPENSSL_ENGINES'}){
- $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs");
-}
-
my $key='0123456789abcdef' x 2;
#
diff --git a/test/04-pkey.t b/test/04-pkey.t
index c202b2e..549d657 100644
--- a/test/04-pkey.t
+++ b/test/04-pkey.t
@@ -12,11 +12,6 @@ my $use_config = 1;
# prepare data for
-# Set OPENSSL_ENGINES environment variable to just built engine
-if(!defined $ENV{'OPENSSL_ENGINES'}){
- $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs");
-}
-
my $engine=$ENV{'ENGINE_NAME'}||"gost";
# Reopen STDERR to eliminate extra output
diff --git a/test/empty.cnf b/test/empty.cnf
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test/empty.cnf