Commit graph

5 commits

Author SHA1 Message Date
Mike McClurg
6f6b51f869 Rewrite arbitrary signals, and update tests
We've decided to allow arbitrary signal rewriting, not just SIGTERM
rewriting. To use, call dumb-init with the '-r s:r' option, which will
rewrite signum s to signum r. Only signals 1-31 are allowed to be
rewritten, which should cover all the signals we need to cover.

Note that this commit does not add new tests, it only fixes the existing
broken test.
2016-06-09 16:05:27 -06:00
Chris Kuehl
256edaef74 Simplify dumb-init behavior using sigwait 2016-04-29 17:13:52 -07:00
Chris Kuehl
01f6064164 Fix typo in help message 2015-10-26 10:20:18 -07:00
Chris Kuehl
cd8f4bccf1 cli_test: update help message 2015-10-03 00:36:35 -07:00
Chris Kuehl
958c6420a5 Add command-line option sanity check tests 2015-10-02 17:54:06 -07:00