libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Fix testsuite errors due to shell quoted parameter expansion issue.


From: Ralf Wildenhues
Subject: Re: Fix testsuite errors due to shell quoted parameter expansion issue.
Date: Wed, 4 Aug 2010 21:28:40 +0200
User-agent: Mutt/1.5.20 (2010-04-22)

* Eric Blake wrote on Tue, Aug 03, 2010 at 10:55:36PM CEST:
> On 08/03/2010 02:32 PM, Ralf Wildenhues wrote:
> > Interesting shell unportability:
> > 
> > $ bash -c 'f=" val" e=; echo "$e"$f'
> > val
> > $ ksh -c 'f=" val" e=; echo "$e"$f'
> >  val
> > 
> > ksh93, dash, zsh all do it like ksh.  Is that a bug in bash?
> 
> Yes; [...]

thanks for the investigation.  I'm pushing the patch with modified
log entry.

Cheers,
Ralf

    Fix testsuite errors due to shell quoted parameter expansion issue.
    
    * tests/getopt-m4sh.at (_LT_AT_GETOPT_M4SH_SETUP): Insert space
    between double-quoted and unquoted shell parameter, as bash
    4.0.28 doesn't add one in its output if the expansion of the
    second one starts with a space.
    (short option splitting, enhanced shell short option splitting)
    (long option splitting, XSI long option splitting): Add space in
    expected output.
    Fixes testsuite failures on AIX, FreeBSD, etc.
    Report by Rainer Tammer.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]