提交 79ef3799 编写于 作者: trioneses360's avatar trioneses360

Signed-off-by:yelin10<yelin10@huawei.com>

Signed-off-by: trioneses360's avataryelin10 <yelin10@huawei.com>
上级 a28c5d71
......@@ -21,6 +21,7 @@
#include <string.h>
#include <errno.h>
#include <stdlib.h>
#include <signal.h>
#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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册