autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH] tests: fix spurious failure due to Solaris XPG4 sh bug


From: Stefano Lattarini
Subject: Re: [PATCH] tests: fix spurious failure due to Solaris XPG4 sh bug
Date: Sun, 04 Mar 2012 19:23:31 +0100

Hi Paul.

On 03/04/2012 06:54 PM, Paul Eggert wrote:
> On 03/04/2012 08:16 AM, Stefano Lattarini wrote:
>> What's going on there?
> 
> That is a bug in older ksh implementations.
> I've pushed the following doc patch to describe it.
> I don't fully understand your test case, but renaming
> "script" to "script2" won't work if there happens to
> be a command named "script2" in the path, so I suggest
> changing the file name back to "script" but invoking
> it as "./script", 
>
The fact that the script is invoked as "sh script" is deliberate, and is done
to give better coverage to the re-execution code (invocations as ./script and
/bas/path/to/script are tested separately, see the m4sh.at fragment for 
details).
Maybe we could rename the script to something more namespace-safe, like
"ac--script"? But honestly, I think we should cross that bridge when we come to
it (if ever).

Thanks,
  Stefano



reply via email to

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