data/method/busybox/busybox-1.36.0/shell/ash_test/ash-parsing/group2.tests

4 lines
122 B
Plaintext
Executable File

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