summaryrefslogtreecommitdiffhomepage
path: root/shell/hush_test/hush-trap/signal_read1.tests
blob: 1105479a3eba0f3fc0edc0063219512e68c1360a (plain)
1
2
3
4
5
(sleep 1; kill -HUP $$) &
trap 'echo "Got HUP:$?"; exit' HUP
while true; do
	read ignored
done