From: Dr. Stephen Henson Date: Sat, 19 Sep 2015 22:49:26 +0000 (+0100) Subject: Update Simple.pm to use disabled() X-Git-Tag: OpenSSL_1_1_0-pre1~592 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=01d524fa039ebc2e59212bd1211a8c6058657fc4;p=oweals%2Fopenssl.git Update Simple.pm to use disabled() Reviewed-by: Richard Levitte --- 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"); }