group2.tests 122 B

123
  1. # Bug was in handling of "}&" without space
  2. { trap "echo got TERM" TERM; sleep 2; }& sleep 1; kill $!; wait
  3. echo Done: $?