actually test if signals are handled
authorlurchi <lurchi@strangeplace.net>
Sun, 21 Jan 2018 12:29:20 +0000 (13:29 +0100)
committerlurchi <lurchi@strangeplace.net>
Sun, 21 Jan 2018 12:29:20 +0000 (13:29 +0100)
commitf7fc4ee069592858798a94b0b9373d45024ce7b7
treef832a3f992f5ec56167502b0ea4f0025a15722db
parentf3f76baaa34c89f39cec8d25bb72458488787205
actually test if signals are handled

- use a timeout task to prevent the scheduler from shutting down before
the signal can be handled
- test task cancellation before using the timeout task
- use a different status code for each test case
src/util/test_scheduler.c