[CRIU] [RFC PATCHv2 23/32] zdtm: static/sigpending: ignore foreign SIGCHLD events (for single-process group tests)
Ivan Shapovalov
intelfx at intelfx.name
Sat Mar 12 00:42:22 PST 2016
Signed-off-by: Ivan Shapovalov <intelfx at intelfx.name>
---
test/zdtm/static/sigpending.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/test/zdtm/static/sigpending.c b/test/zdtm/static/sigpending.c
index 2a4abfb..01bf8ef 100644
--- a/test/zdtm/static/sigpending.c
+++ b/test/zdtm/static/sigpending.c
@@ -49,7 +49,7 @@ static void sig_handler(int signal, siginfo_t *info, void *data)
(info->si_pid == child) &&
(info->si_status == 5))
numsig++;
- else {
+ else if (info->si_pid == child) {
fail("Wrong siginfo");
exit(1);
}
--
2.7.2
More information about the CRIU
mailing list