bug-m4
[Top][All Lists]
Advanced

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

Re: make check failure on HPUX-11.23 and HPUX-11.31


From: Eric Blake
Subject: Re: make check failure on HPUX-11.23 and HPUX-11.31
Date: Mon, 11 Mar 2013 06:54:31 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130219 Thunderbird/17.0.3

On 03/10/2013 09:19 PM, Gary V. Vaughan wrote:
> Hi Eric,
> 
> I don't really understand the nuances of this test enough to debug
> any further.  It looks like the expectations are too tight by
> requiring an error rather than a silent failure.  WDYT?
> 

> ...
> hpux% echo nothing | ./src/m4 >&-
> hpux% echo $?
> 0

Hmm.  POSIX says that we can't rely on >&- closing stdout; it works on
most platforms, but HPUX apparently ignores the request and reopens
stdout to /dev/null, and POSIX allows this behavior.  The test is too
strict, and should be checking whether it is possible to start a program
with stdout closed before requiring a particular behavior in that
condition (since HPUX has no way to get into that condition).

> Curiously, this test behaves as expected on HPUX-11.11 and 11.00.
> Safe to ignore?  Can the test case be fixed?

I'll see what I can come up with today.  If I don't come up with a way,
then it is safe to ignore.

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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