openssl/test/recipes/90-test_gost2814789.t
Richard Levitte 127d25903f Add recipes for misc other things we want to test
Note that this required a change in constant_time_test.c, as it says
"ok", which interferes with what Test::Harness expects to see.  I had
constant_time_test.c say "success" instead.

Reviewed-by: Rich Salz <rsalz@openssl.org>
2015-09-07 16:10:57 +02:00

15 lines
305 B
Perl

#! /usr/bin/perl
use strict;
use warnings;
use Test::More;
use OpenSSL::Test qw/:DEFAULT top_dir/;
setup("test_gost2814789");
$ENV{OPENSSL_ENGINES} =
$ENV{BIN_D} ? top_dir($ENV{BIN_D}) : top_dir("engines", "ccgost");
plan tests => 1;
ok(run(test(["gost2814789test"])), 'running gost2814789test');