Add tests for the "req" command, -addext flag
[openssl.git] / test / recipes / 90-test_v3name.t
index 17ac8b33841c244c8a4ea04984cfdb5db7e6ded7..2e144e5a2da765f2e52596aa15f7a5669798ca76 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_v3name");
-
-plan tests => 1;
-ok(run(test(["v3nametest"])), "running v3nametest");
+simple_test("test_v3name", "v3nametest");