Skip Menu |

This queue is for tickets about the Net-OpenSSH CPAN distribution.

Report information
The Basics
Id: 62594
Status: resolved
Worked: 10 min
Priority: 0/
Queue: Net-OpenSSH

People
Owner: salva [...] cpan.org
Requestors: ANDK [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Normal
Broken in: 0.49
Fixed in: (no value)



Subject: [patch] shell_quote() in t/1_run.t escapes underscore
While watching failing tests on cpantesters I found this bug in t/1_run.t: --- t/1_run.t~ 2010-10-31 18:30:40.000000000 +0100 +++ t/1_run.t 2010-10-31 18:30:55.000000000 +0100 @@ -75,7 +75,7 @@ sub shell_quote { my $txt = shift; - $txt =~ s|([^a-zA-Z0-9+-\./])|\\$1|g; + $txt =~ s|([^a-zA-Z0-9+-\./_])|\\$1|g; $txt } The missing underscore in the substitution is responsible for quoting underscores which leads to a FAIL similar to this one: zsh:cd:1: no such file or directory: /home/sand/.cpan/build/Net-OpenSSH-0.49-w\_76GL See a different FAIL report that also fails for the same reason: http://www.cpantesters.org/cpan/report/8164853 HTH, Thanks && Regards,
Solved, thank you for the bug report!