On 11/02/2011 03:30 PM, Paul Eggert wrote:
+st=$(write_to_dangling_pipe cat f.gz f.gz) test "$st" = 141 || framework_failure_ 'signal handling busted on this host'
Another portability concern - with newer ksh, and allowed by POSIX, a child that exits due to a signal causes $? to be 269, not 141.
https://lists.gnu.org/archive/html/autoconf-patches/2011-09/msg00020.html -- Eric Blake ebl...@redhat.com +1-801-349-2682 Libvirt virtualization library http://libvirt.org