busybox/shell/hush_test/hush-trap/signal_read2.tests
Denys Vlasenko bcf1fa80f3 hush: add tests for interrupting read
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2011-05-09 01:05:33 +02:00

8 lines
91 B
Plaintext
Executable File

$THIS_SH -c '
(sleep 1; kill -HUP $$) &
while true; do
read ignored
done
'
echo "Done:$?"