Please accept below testcase patches for pid namespace. They carry minor comments suggested by Suka and Nadia in lxc-dev.
---
pidns20:
The pidns20.c testcase verifies that signal handler of SIGUSR1 is called (and cinit is NOT terminated) when:
- container-init blocks SIGUSR1,
- parent queues SIGUSR1 and
- a handler is specified for SIGUSR1 before it is unblocked.
Change log:
version 2:
* added two pipes for reliable testing.
version 1:
* Submitted in lxc-dev
pidns21:
The pidns21.c testcase verifies that container-init is terminated by SIGUSR1 when:
- a handler is specified for SIGUSR1,
- container-init blocks SIGUSR1,
- parent queues SIGUSR1 and
- handler for SIGUSR1 is set to system default before SIGUSR1 is unblocked.
Change log:
version 2:
* added two pipes for reliable testing.
version 1:
* Submitted in lxc-dev
Signed-off-by: Gowrishankar M <gowrishankar.m@in.ibm.com>, Acked-by: Sukadev Bhattiprolu <sukadev@linux.vnet.ibm.com>.
3 files changed