develooper Front page | perl.perl5.porters | Postings from April 2014

[perl #121672] [PATCH] Avoid double quotes in switchM.t runperl args.

Thread Previous | Thread Next
From:
Tony Cook via RT
Date:
April 21, 2014 00:38
Subject:
[perl #121672] [PATCH] Avoid double quotes in switchM.t runperl args.
Message ID:
rt-4.0.18-27445-1398040716-1490.121672-15-0@perl.org
On Wed Apr 16 05:36:32 2014, craigberry wrote:
> The new tests added in 9fdd5a7ac74817 were sending runperl a -e
> command with double quotes around it, which confuses matters on
> VMS where arguments get double quotes added unless they already
> have them.  The solution is simple: just use the 'prog' parameter
> to runperl and let runperl handle the quoting.
> 
> N.B.  This modifies the same tests touched by the patch in
> [perl #121662] so whichever gets applied last needs to be done
> manually.  The one here is just a replace of:
> 
> , '-e "print t2::id()"']
> 
> with
> 
> ], prog => 'print t2::id()'

I think this belongs in blead, and plan to apply it in a couple of days if no-one objects.

This fixes a new test introduced during the code freeze which I think makes it fair game.

Tony

---
via perlbug:  queue: perl5 status: new
https://rt.perl.org/Ticket/Display.html?id=121672

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About