summaryrefslogtreecommitdiffstats
path: root/src/bp_gtest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bp_gtest.cpp')
-rwxr-xr-xsrc/bp_gtest.cpp16
1 files changed, 14 insertions, 2 deletions
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) {