busybox/shell/hush_test/hush-signals/signal6.tests

3 lines
78 B
Plaintext
Raw Normal View History

{ trap "echo got TERM" TERM; sleep 3; }& sleep 1; kill $!; wait
echo Done: $?