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

According to Ralf Wildenhues on 1/11/2009 5:14 AM:
> Hello,
> 
> FYI, on NetBSD, current git Autoconf fails the AS_EXIT fails one test,
> like this:
> 
> | 62. m4sh.at:301: testing ...
> | ../../autoconf/tests/m4sh.at:337: ./script d e
> | --- -   2009-01-11 11:09:04.000000000 +0000
> | +++ /home/ralf/ac/build/tests/testsuite.dir/at-groups/62/stdout 2009-01-11 
> 11:09:04.000000000 +0000
> | @@ -1,2 +1 @@
> | -3
> |  
> | 62. m4sh.at:301: 62. AS_EXIT (m4sh.at:301): FAILED (m4sh.at:337)
> 
> 
> Running the script manually:
> 
> $ sh -x script d e ; echo $?
> [...]
> + 'SHELL=/bin/sh'
> + export SHELL
> + 'as_unset=as_fn_unset'
> + test xd '=' xa
> + test xd '=' xb
> + test xd '=' xc
> + test xd '=' xd
> + trap 's=$?; echo $s; as_fn_exit $s' 0
> + test xe '=' xe
> + set '-e'
> + test 2 '-gt' 0
> + 'as_fn_set_status' 3
> + return 3
> + 's=3'
> 3
> 
> 
> I'm not quite sure what's happening here.  It's anyway not such a big
> problem, so it may be best to just SKIP the test in this case.  If
> analyzed better, it should be reported to the NetBSD people though.

What sort of condition would we use to skip the test?   It looks like the
trap starts execution (the trace includes s=3), but fails to do the echo.
  Maybe it's worth reporting even if we don't know what's wrong, in case
the NetBSD shell team has seen this before.

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

Eric Blake             [email protected]
-----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

iEYEARECAAYFAklslU0ACgkQ84KuGfSFAYArnQCgtnY6X9uo0ynA3vm+kyc928Vm
7igAnj4TgHSRF7bhA+5bf9bWfaywvju6
=8bct
-----END PGP SIGNATURE-----


Reply via email to