X-Git-Url: https://git.librecmc.org/?a=blobdiff_plain;f=test%2Frecipes%2Ftconversion.pl;h=e5fa9dec879e1097c86eea8d13740c2c4a9860f7;hb=48c1e15ceb2252e65ba63f93a7bf39c1d368f38f;hp=07e34060f395ed63ded85645f9fcf6e89e30c96a;hpb=4ada8be2a6c538ee66a9a35a182052f359fc94b3;p=oweals%2Fopenssl.git diff --git a/test/recipes/tconversion.pl b/test/recipes/tconversion.pl index 07e34060f3..e5fa9dec87 100644 --- a/test/recipes/tconversion.pl +++ b/test/recipes/tconversion.pl @@ -1,4 +1,11 @@ -#! /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; @@ -6,7 +13,7 @@ use warnings; use File::Compare qw/compare_text/; use File::Copy; use lib 'testlib'; -use OpenSSL::Test qw/:DEFAULT top_file/; +use OpenSSL::Test qw/:DEFAULT/; my %conversionforms = ( # Default conversion forms. Other series may be added with @@ -53,8 +60,9 @@ sub tconversion { ok(run(app([@cmd, "-in", "$testtype-fff.p", "-inform", "p", - "-outform", $to], - stdout => "$testtype-f.$to")), "p -> $to"); + "-out", "$testtype-f.$to", + "-outform", $to])), + "p -> $to"); } foreach my $to (@conversionforms) { @@ -62,8 +70,9 @@ sub tconversion { ok(run(app([@cmd, "-in", "$testtype-f.$from", "-inform", $from, - "-outform", $to], - stdout => "$testtype-ff.$from$to")), "$from -> $to"); + "-out", "$testtype-ff.$from$to", + "-outform", $to])), + "$from -> $to"); } }