Jim Meyering <j...@meyering.net> writes:

> Here's a better test case:
>
>     $ /bin/sh -c 'f(){ local s=$IFS; test -n "$s"; }; f'
>     [Exit 1]
>
> And based on that, here's a patch to gnulib's tests/init.sh
> that solves the problem more generally:
> (but this is not enough for coreutils, since some
> failing tests don't yet use init.sh)

Why not just add the quotes?  This isn't formally an assignment, so the
behaviour of the shell is reasonable after all.

Andreas.

-- 
Andreas Schwab, sch...@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

Reply via email to