Test suite: chomp->s/\R// to harmonize with mingw 'make test'.
[openssl.git] / test / recipes / 25-test_req.t
index 5e4ea476d9006dc88d44b952a18157d514f15cbd..ce1f869e2b781d512be14830684775a078ee7052 100644 (file)
@@ -4,7 +4,6 @@ use strict;
 use warnings;
 
 use File::Spec;
-use Test::More 0.96;
 use OpenSSL::Test qw/:DEFAULT top_file/;
 
 setup("test_req");
@@ -32,7 +31,7 @@ sub run_conversion {
        open DATA, "req-check.err";
       SKIP: {
          plan skip_all => "skipping req conversion test for $reqfile"
-             if grep /Unknown Public Key/, map { chomp } <DATA>;
+             if grep /Unknown Public Key/, map { s/\R//; } <DATA>;
 
          tconversion("req", "testreq.pem", @openssl_args);
        }