busybox/shell/msh_test/msh-execution/many_continues.tests

16 lines
224 B
Plaintext
Raw Normal View History

2008-07-21 04:33:23 +05:30
if test $# = 0; then
# Child will kill us in 1 second
"$THIS_SH" "$0" $$ &
# Loop many, many times
trap 'echo OK; exit 0' 15
while true; do
continue
done
echo BAD
exit 1
fi
sleep 1
kill $1