xref: /freebsd/bin/sh/tests/builtins/wait11.0 (revision 75a6c38e4d5c651b7398bf2bea5baa41a0939e92)
1*75a6c38eSJilles Tjoelkersleep 3 | sleep 2 &
2*75a6c38eSJilles Tjoelkersleep 3 &
3*75a6c38eSJilles Tjoelkerkill %1
4*75a6c38eSJilles Tjoelkerwait %1
5*75a6c38eSJilles Tjoelkerr=$?
6*75a6c38eSJilles Tjoelker[ "$r" -gt 128 ] && [ "$(kill -l "$r")" = TERM ]
7