[CRIU] [PATCH] test: Fix sockets03 default SIGPIPE handler not being set to IGN

Cyrill Gorcunov gorcunov at gmail.com
Fri Dec 16 03:25:21 PST 2016


On Fri, Dec 16, 2016 at 01:40:35PM +0300, Vitaly Ostrosablin wrote:
> By default, sockets03 doesn't set SIGPIPE handler to SIG_IGN. When run
> by zdtm.py, it doesn't cause problem, because it inherits signal
> handler. However, when run via vzt-cpt (which uses system() to launch
> tests), it receives default handler (which would terminate test). As
> result, test is guaranteed to fail, because it will attempt to write to
> shutdown receiver and get SIGPIPE in the face.
> 
> PSBM-55941
> 
> Signed-off-by: Vitaly Ostrosablin <vostrosablin at virtuozzo.com>

Reviewed-by: Cyrill Gorcunov <gorcunov at openvz.org>


More information about the CRIU mailing list