From 11b3313c2fbd27303371cd49c5de83525d8986ce Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Thu, 14 Jan 2016 17:38:52 +0100 Subject: [PATCH] In __cwd, make sure the given directory is seen as such and not a file On Unixly platforms, this doesn't matter. On VMS, it does. Reviewed-by: Rich Salz --- test/testlib/OpenSSL/Test.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index 6af5e963fc..e4218c55f5 100644 --- a/test/testlib/OpenSSL/Test.pm +++ b/test/testlib/OpenSSL/Test.pm @@ -87,7 +87,6 @@ sub __cwd; sub __apps_file; sub __results_file; sub __test_log; -sub __cwd; sub __fixup_cmd; sub __build_cmd; @@ -607,7 +606,7 @@ sub __test_log { } sub __cwd { - my $dir = shift; + my $dir = catdir(shift); my %opts = @_; my $abscurdir = rel2abs(curdir()); my $absdir = rel2abs($dir); -- 2.40.0