From c10d1bc81cb047cbd53f8cc430632b6a4a70252d Mon Sep 17 00:00:00 2001 From: Richard Levitte Date: Sat, 30 Jan 2016 17:11:48 +0100 Subject: [PATCH] When checking if there's a VMS directory spec, don't forget the possible device Reviewed-by: Rich Salz --- test/testlib/OpenSSL/Test.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/testlib/OpenSSL/Test.pm b/test/testlib/OpenSSL/Test.pm index e1c2899c7e..297de8642f 100644 --- a/test/testlib/OpenSSL/Test.pm +++ b/test/testlib/OpenSSL/Test.pm @@ -713,7 +713,7 @@ sub __fixup_cmd { if (defined($exe_shell)) { $prefix = "$exe_shell "; } elsif ($^O eq "VMS" ) { # VMS - $prefix = ($prog =~ /^[<\[]/ ? "mcr " : "mcr []"); + $prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []"); $ext = ".exe"; } elsif ($^O eq "MSWin32") { # Windows $prefix = ""; -- 2.25.1