xref: /freebsd/bin/sh/tests/builtins/kill2.0 (revision f126890ac5386406dadf7c4cfa9566cbb56537c5)
1
2sleep 1 | sleep 1 &
3kill %+
4wait "$!"
5r=$?
6[ "$r" -gt 128 ] && [ "$(kill -l "$r")" = TERM ]
7