signal_read1.tests 95 B

12345
  1. (sleep 1; kill -HUP $$) &
  2. trap 'echo "Got HUP:$?"; exit' HUP
  3. while true; do
  4. read ignored
  5. done