Hi Eric,

* Eric Blake wrote on Mon, Nov 15, 2010 at 05:11:46PM CET:
> On 11/14/2010 10:24 AM, Ralf Wildenhues wrote:
> >     tests: work around dash quoting issue in case statements.
> >     
> >     * tests/color.test, tests/color2.test: Quote variable in case
> >     pattern, to avoid skipping tests with dash 0.5.5.1.

> > --- a/tests/color.test
> > +++ b/tests/color.test
> > @@ -34,7 +34,7 @@ std=''
> >  # BSD 'grep' works from a pipe, but not a seekable file.
> >  # GNU or BSD 'grep -a' works on files, but is not portable.
> >  case `echo "$std" | grep .` in
> > -  $std) ;;
> > +  "$std") ;;
> 
> I don't see this documented in the autoconf manual; would you care to
> extend the existing documentation on case to mention this limitation?

Well, I owe you a number of Autoconf patches already, but yes, when I
get around to analyzing the issue enough, I intend to write a bug report
to upstream and a patch for autoconf.texi.

Cheers,
Ralf

Reply via email to