Loading test/testlib/OpenSSL/Test.pm +2 −7 Original line number Original line Diff line number Diff line Loading @@ -1016,15 +1016,10 @@ sub __fixup_prg { $prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []"); $prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []"); } } # We test both with and without extension. The reason # We test if the program to use exists. # is that we might be passed a complete file spec, with # extension. if ( ! -x $prog ) { my $prog = "$prog"; if ( ! -x $prog ) { if ( ! -x $prog ) { $prog = undef; $prog = undef; } } } if (defined($prog)) { if (defined($prog)) { # Make sure to quotify the program file on platforms that may # Make sure to quotify the program file on platforms that may Loading Loading
test/testlib/OpenSSL/Test.pm +2 −7 Original line number Original line Diff line number Diff line Loading @@ -1016,15 +1016,10 @@ sub __fixup_prg { $prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []"); $prefix = ($prog =~ /^(?:[\$a-z0-9_]+:)?[<\[]/i ? "mcr " : "mcr []"); } } # We test both with and without extension. The reason # We test if the program to use exists. # is that we might be passed a complete file spec, with # extension. if ( ! -x $prog ) { my $prog = "$prog"; if ( ! -x $prog ) { if ( ! -x $prog ) { $prog = undef; $prog = undef; } } } if (defined($prog)) { if (defined($prog)) { # Make sure to quotify the program file on platforms that may # Make sure to quotify the program file on platforms that may Loading