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

[adding bug-m4 - for a while now, Bob's buildbot has been reporting a failure]

According to Bob Proulx on 4/16/2008 11:26 PM:
|   ../../tests/builtins.at:298: echo 'divert(1)hi
|   format(%1000000d, 1)' | $M4 | sed 1q
|
+/usr/local/build/m4/build-i686-gnu-linux/build/project/build/src/.libs/lt-m4:
copying inserted file: Broken pipe
|
+/usr/local/build/m4/build-i686-gnu-linux/build/project/build/src/.libs/lt-m4:
write error
|   19. builtins.at:272: 19. divert (builtins.at:272): FAILED
(builtins.at:298)
|
| If I make a copy of the directory and run the 'make check' again it
| passes.

Ahh.  Sounds like a difference in whether SIGPIPE is being ignored in the
parent shell at the time the test is run.  So should m4 always be verbose
about pipe failures when inheriting an ignored SIGPIPE from the parent?  I
think the following will also work around it for this particular test:

input | m4 | { sed 1q; cat >/dev/null; }

so that m4's output is completely consumed, regardless of whether SIGPIPE
is ignored.

- --
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

iEYEARECAAYFAkgHO1UACgkQ84KuGfSFAYAvOQCdEKYnSrQHVlfwu6AMmpT/J26d
2tgAoMbpwJnp3EmmRrlE3b2v9j2LGQiI
=6N+B
-----END PGP SIGNATURE-----


Reply via email to