summaryrefslogtreecommitdiffstats
path: root/test/testlib/OpenSSL/Test.pm
diff options
context:
space:
mode:
Diffstat (limited to 'test/testlib/OpenSSL/Test.pm')
-rw-r--r--test/testlib/OpenSSL/Test.pm2
1 files changed, 1 insertions, 1 deletions
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 = "";