diff options
author | Richard Levitte <levitte@openssl.org> | 2016-01-14 17:38:52 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-01-14 17:43:05 +0100 |
commit | 11b3313c2fbd27303371cd49c5de83525d8986ce (patch) | |
tree | dc0cb858fd436774f012db0a413f3b6b343321a5 /test | |
parent | Relax the requirements for a debug build (diff) | |
download | openssl-11b3313c2fbd27303371cd49c5de83525d8986ce.tar.xz openssl-11b3313c2fbd27303371cd49c5de83525d8986ce.zip |
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 <rsalz@openssl.org>
Diffstat (limited to 'test')
-rw-r--r-- | test/testlib/OpenSSL/Test.pm | 3 |
1 files changed, 1 insertions, 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); |