From 01d524fa039ebc2e59212bd1211a8c6058657fc4 Mon Sep 17 00:00:00 2001 From: "Dr. Stephen Henson" Date: Sat, 19 Sep 2015 23:49:26 +0100 Subject: [PATCH] Update Simple.pm to use disabled() Reviewed-by: Richard Levitte --- test/testlib/OpenSSL/Test/Simple.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/testlib/OpenSSL/Test/Simple.pm b/test/testlib/OpenSSL/Test/Simple.pm index 874a156f4e..96500fcaba 100644 --- a/test/testlib/OpenSSL/Test/Simple.pm +++ b/test/testlib/OpenSSL/Test/Simple.pm @@ -28,6 +28,7 @@ You could call them hacks if you wish. =cut use OpenSSL::Test; +use OpenSSL::Test::Utils; =over 4 @@ -58,7 +59,7 @@ sub simple_test { plan tests => 1; SKIP: { skip "$algo is not supported by this OpenSSL build, skipping this test...", 1 - if $algo && run(app(["openssl", "no-$algo"])); + if $algo && disabled($algo); ok(run(test([$prgr])), "running $prgr"); } -- 2.25.1