bug-gnulib
[Top][All Lists]
Advanced

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

Re: [PATCH 2/2] perror: avoid spurious test failure on HP-UX


From: Bruno Haible
Subject: Re: [PATCH 2/2] perror: avoid spurious test failure on HP-UX
Date: Wed, 25 May 2011 00:19:29 +0200
User-agent: KMail/1.9.9

Eric Blake wrote:
> The next-to-last command in this test has non-zero status.  Even
> though 'exit 0' is supposed to ignore prior status, HP-UX /bin/sh
> favors the prior status if an exit trap is installed.
> 
> * tests/test-perror.sh: Use Exit to avoid wrong exit status.

Shouldn't this patch also be applied to tests/test-atexit.sh?
It's the first test that uses init.sh (in alphabetical order), therefore
people might want to use it as a template.

Bruno
-- 
In memoriam Georges Darboy <http://en.wikipedia.org/wiki/Georges_Darboy>



reply via email to

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