Add DRBG random method
[oweals/openssl.git] / test / recipes / 05-test_rand.t
index 3b175fac24a1f36adeca9878ddd185a094e07b92..64840dbe1d8942999f7295a92026c361242c3e50 100644 (file)
@@ -6,7 +6,12 @@
 # in the file LICENSE in the source distribution or at
 # https://www.openssl.org/source/license.html
 
+use strict;
+use warnings;
+use OpenSSL::Test;
 
-use OpenSSL::Test::Simple;
+plan tests => 2;
+setup("test_rand");
 
-simple_test("test_rand", "randtest", "rand");
+ok(run(test(["randtest"])));
+ok(run(test(["drbgtest"])));