Chris Kuehl
d2a1f7eae1
Fix some tests that fail under GitHub CI
2021-10-07 13:17:36 -07:00
Chris Kuehl
46774f6068
Only run tests under Python 3, fix random bitrot
2019-07-15 13:23:51 -07:00
Chris Kuehl
9374f3e664
Fix flake8 failures
2019-02-20 13:00:02 -08:00
Chris Kuehl
9d862c8a2b
Fix signal number assertions on non-amd64
2016-08-01 08:40:48 -07:00
Chris Kuehl
23dbc512c2
Fix two flakey tests
2016-07-25 09:54:39 -07:00
Chris Kuehl
8269e190f1
Be more generous with sleeps, add more test output on fail
2016-07-19 14:40:26 -07:00
Chris Kuehl
169727ba43
Clean up tests a bit
2016-06-17 12:47:34 -07:00
Chris Kuehl
4ce5ec42d2
Loosen assertion a bit for musl
2016-06-17 11:06:24 -07:00
Chris Kuehl
b678dbf4b3
Fix segfault on invalid arguments
2016-06-17 10:20:05 -07:00
Chris Kuehl
1a7c635071
Add ability to ignore signals
2016-06-14 11:34:52 -07:00
Chris Kuehl
9e456addb7
Add signal translation tests
2016-06-13 14:33:51 -07:00
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