From e9fd82f624b158eb782da6a49725bb219247cb8c Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Sun, 21 Feb 2016 21:54:30 +0100 Subject: [PATCH] test/recipes/80-test_ca.t: remove_tree->rmtree to make it work with Perl 5.10. Reviewed-by: Richard Levitte --- test/recipes/80-test_ca.t | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/recipes/80-test_ca.t b/test/recipes/80-test_ca.t index 97e44c8d99..017c3db77f 100644 --- a/test/recipes/80-test_ca.t +++ b/test/recipes/80-test_ca.t @@ -4,7 +4,7 @@ use strict; use warnings; use POSIX; -use File::Path 2.00 qw/remove_tree/; +use File::Path 2.00 qw/rmtree/; use OpenSSL::Test qw/:DEFAULT cmdstr srctop_file/; setup("test_ca"); @@ -13,7 +13,7 @@ $ENV{OPENSSL} = cmdstr(app(["openssl"])); my $std_openssl_cnf = srctop_file("apps", $^O eq "VMS" ? "openssl-vms.cnf" : "openssl.cnf"); -remove_tree("demoCA", { safe => 0 }); +rmtree("demoCA", { safe => 0 }); plan tests => 4; SKIP: { @@ -37,7 +37,7 @@ plan tests => 4; } -remove_tree("demoCA", { safe => 0 }); +rmtree("demoCA", { safe => 0 }); unlink "newcert.pem", "newreq.pem"; -- 2.25.1