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>
This commit is contained in:
Richard Levitte 2016-01-14 17:38:52 +01:00
parent 8e8b883f6b
commit 11b3313c2f

View file

@ -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);