From 2df4b70ed1675d5fe49c605b9233208e5585d921 Mon Sep 17 00:00:00 2001 From: Tomas Pecka <peckato1@fit.cvut.cz> Date: Fri, 22 Mar 2019 16:23:44 +0100 Subject: [PATCH] Integration tests: Remove SIGCHLD handler from test childs --- alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp b/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp index 1c3877dd77..726b8103e3 100644 --- a/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp +++ b/alib2integrationtest/test-src/testing/TimeoutAqlTest.cpp @@ -103,6 +103,10 @@ void _TimeoutAqlTest ( const std::chrono::microseconds & timeout, const ext::vec FAIL ( "Fork error" ); } else if ( x == 0 ) { /* child, run the test here */ + + act . sa_handler = SIG_DFL; + sigaction ( SIGCHLD, &act, NULL ); + close ( g_Wakeup [ PIPE_RD ] ); close ( g_Wakeup [ PIPE_WR ] ); close ( pipefd [ PIPE_RD ] ); -- GitLab