diff --git a/communication_lite/lwip_posix/src/ActsLwipTest.cpp b/communication_lite/lwip_posix/src/ActsLwipTest.cpp index e0e817098fa37088844c9f89d845daa84287e3bc..b8cda4b883fa7b945bbd7f56d5420f7de6ea0f28 100755 --- a/communication_lite/lwip_posix/src/ActsLwipTest.cpp +++ b/communication_lite/lwip_posix/src/ActsLwipTest.cpp @@ -21,6 +21,7 @@ #include #include #include +#include #include "securec.h" using namespace std; @@ -41,7 +42,11 @@ static pthread_barrier_t g_barrier; class ActsLwipTest : public testing::Test { protected: // SetUpTestCase: Testsuit setup, run before 1st testcase - static void SetUpTestCase(void) {} + static void SetUpTestCase(void) + { + // Ignore SIGPIPE Signals + signal(SIGPIPE, SIG_IGN); + } // TearDownTestCase: Testsuit teardown, run after last testcase static void TearDownTestCase(void) {} // Testcase setup