busybox/shell/hush_test/hush-signals/signal_read1.tests

6 lines
95 B
Plaintext
Raw Normal View History

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