Fix client auth test_ssl_new failures when enabling/disabling protocols
[openssl.git] / test / recipes / 05-test_sha1.t
index 8f7d2fca9365dd0c4e2557285b3bd21619497564..21bb74edcc2ce6623e7f40383fe95aca45a1e406 100644 (file)
@@ -1,12 +1,12 @@
-#! /usr/bin/perl
+#! /usr/bin/env perl
+# Copyright 2015-2016 The OpenSSL Project Authors. All Rights Reserved.
+#
+# Licensed under the OpenSSL license (the "License").  You may not use
+# this file except in compliance with the License.  You can obtain a copy
+# in the file LICENSE in the source distribution or at
+# https://www.openssl.org/source/license.html
 
-use strict;
-use warnings;
 
-use Test::More;
-use OpenSSL::Test;
+use OpenSSL::Test::Simple;
 
-setup("test_sha1");
-
-plan tests => 1;
-ok(run(test(["sha1test"])), "running sha1test");
+simple_test("test_sha1", "sha1test", "sha");