This question is very similar to Is there a standard command that always exits with a failure?
I'm writing some code which I need to test that it handles subprocesses gracefully when the child process exits due to a signal (say SIGTERM or SIGINT).
Is there something concise that I can call like true or false to achieve this with signals?