mirror of
https://github.com/openssl/openssl.git
synced 2024-11-27 05:21:51 +08:00
93de4f58ef
Very simple test recipes easily become tedious, so they might benefit from being made as simple as possible. Therefore, OpenSSL::Test::Simple is born. It currently provides but one function, simple_test(), which takes a minimum of two parameters (test name and program to run), with the optional third, being the algorithm to be checked for before running the test itself. All recipes with that simple thing to do have been rewritten to be as minimal as possible. Reviewed-by: Rich Salz <rsalz@openssl.org>
6 lines
92 B
Perl
6 lines
92 B
Perl
#! /usr/bin/perl
|
|
|
|
use OpenSSL::Test::Simple;
|
|
|
|
simple_test("test_rand", "randtest", "rand");
|