This website requires JavaScript.
Explore
Help
Sign In
mirror
/
openssl
Watch
2
Star
0
Fork
0
You've already forked openssl
mirror of
https://github.com/openssl/openssl.git
synced
2024-12-09 05:51:54 +08:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
b7be6d2290
openssl
/
test
/
recipes
/
90-test_heartbeat.t
6 lines
95 B
Perl
Raw
Normal View
History
Unescape
Escape
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-04-20 04:26:12 +08:00
#! /usr/bin/perl
Simplify very simple test recipes further. 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>
2015-04-22 01:29:01 +08:00
use
OpenSSL::Test::Simple
;
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-04-20 04:26:12 +08:00
Simplify very simple test recipes further. 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>
2015-04-22 01:29:01 +08:00
simple_test
(
"test_heartbeat"
,
"heartbeat_test"
)
;
Reference in New Issue
Copy Permalink