commit | 07ecdea16562ddebe5ad1e8adaa2710ef7a82bb6 | [log] [tgz] |
---|---|---|
author | Willy Tarreau <w@1wt.eu> | Wed Apr 20 10:20:22 2016 +0200 |
committer | Willy Tarreau <w@1wt.eu> | Wed Apr 20 10:53:12 2016 +0200 |
tree | 2a42f89c700ace716f31c6b9fd8225763b7f4172 | |
parent | 4920d70fa0faf41679631e2d2b18ee0fc4b8955e [diff] |
TESTS: add blocksig.c to run tests with all signals blocked A problem was reported recently by some users of programs compiled with Go 1.5 which by default blocks all signals before executing processes, resulting in haproxy not receiving SIGUSR1 or even SIGTERM. This program mimmicks this behaviour to make it easier to run tests. It also displays the current signal mask. A simple test consists in running it through itself.