X-Git-Url: http://wagner.pp.ru/gitweb/?a=blobdiff_plain;f=test%2F00-engine.t;h=9104ab0df709e6214aa6c54363729a0d1e41514b;hb=daa886bfcc06d02a3d48967693d110db335429a6;hp=35b5f929b61bd592b8d4bfaa06c5296c71597b47;hpb=3461793cc682c3336292696ded27f117849bcef0;p=openssl-gost%2Fengine.git diff --git a/test/00-engine.t b/test/00-engine.t index 35b5f92..9104ab0 100644 --- a/test/00-engine.t +++ b/test/00-engine.t @@ -1,5 +1,5 @@ #!/usr/bin/perl -use Test::More tests => 5; +use Test::More tests => 7; use Cwd 'abs_path'; # prepare data for @@ -8,8 +8,10 @@ open F,">","testdata.dat"; print F "12345670" x 128; close F; -# Set OPENSSL_ENGINES environment variable to just build engine -$ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); +# Set OPENSSL_ENGINES environment variable to just built engine +if(!defined $ENV{'OPENSSL_ENGINES'}){ + $ENV{'OPENSSL_ENGINES'} = abs_path("../.libs"); +} $key='0123456789abcdef' x 2; @@ -38,7 +40,7 @@ if ( -f $engine . ".info") { $engine_info= <