autoconf-patches
[Top][All Lists]
Advanced

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

Re: NetBSD test results: AS_EXIT failure


From: Eric Blake
Subject: Re: NetBSD test results: AS_EXIT failure
Date: Tue, 13 Jan 2009 18:56:27 -0700
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.19) Gecko/20081209 Thunderbird/2.0.0.19 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Ralf Wildenhues on 1/13/2009 3:37 PM:
> I agree; I'll file a report once I'm through checking that it's not
> already reported (there are several 'set -e'-related bugs there).
> 
> As to how to skip the test, how about this patch?

Looks good; please apply.

By the way, does something like:

trap 's=$? && set +e; echo $s; as_fn_exit' 0

behave any better?  Maybe the problem is that when set -e is in effect,
and the first command of the EXIT trap is a shell builtin, that the shell
remembers the non-zero status inherited prior to entrance into the trap.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkltRksACgkQ84KuGfSFAYAzDgCgzGeIEqqKSw+IkK3PfccrI5gP
x1QAn2zT5HPmlScvqzgfHiDBntci1mxO
=VLtj
-----END PGP SIGNATURE-----




reply via email to

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