Index: head/bin/sh/tests/execution/bg12.0 =================================================================== --- head/bin/sh/tests/execution/bg12.0 (revision 362736) +++ head/bin/sh/tests/execution/bg12.0 (revision 362737) @@ -1,12 +1,12 @@ # $FreeBSD$ T=`mktemp -d ${TMPDIR:-/tmp}/sh-test.XXXXXXXX` trap 'rm -rf $T' 0 cd $T || exit 3 mkfifo fifo1 -{ trap - INT; : >fifo1; sleep 5; exit 4; } & +{ trap - INT; : >fifo1; sleep 5 & wait; exit 4; } & :