From 89309695626ba47a7e9f4c908a4d46c8b059df0f Mon Sep 17 00:00:00 2001 From: Hanoh Haim Date: Thu, 22 Dec 2016 11:35:11 +0200 Subject: stateful scheduler cleanup Signed-off-by: Hanoh Haim --- src/bp_gtest.cpp | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'src/bp_gtest.cpp') diff --git a/src/bp_gtest.cpp b/src/bp_gtest.cpp index 87f3f7ca..4c04dde9 100755 --- a/src/bp_gtest.cpp +++ b/src/bp_gtest.cpp @@ -263,7 +263,7 @@ TEST_F(basic, limit_single_pkt) { EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; } -/*TEST_F(basic, limit_multi_pkt) { +TEST_F(basic, limit_multi_pkt) { CTestBasic t1; CParserOption * po =&CGlobalInfo::m_options; @@ -273,7 +273,7 @@ TEST_F(basic, limit_single_pkt) { po->out_file ="exp/limit_multi_pkt"; bool res=t1.init(); EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; -} */ +} TEST_F(basic, imix) { @@ -287,6 +287,18 @@ TEST_F(basic, imix) { EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; } +TEST_F(basic, imix_fast) { + + CTestBasic t1; + CParserOption * po =&CGlobalInfo::m_options; + po->preview.setVMode(3); + po->preview.setFileWrite(true); + po->cfg_file ="cap2/imix_64_fast.yaml"; + po->out_file ="exp/imix_64_fast"; + bool res=t1.init(); + EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; +} + TEST_F(basic, dns) { -- cgit 1.2.3-korg