diff options
| author | 刘学利 <[email protected]> | 2023-05-27 09:37:46 +0000 |
|---|---|---|
| committer | 刘学利 <[email protected]> | 2023-05-27 09:37:46 +0000 |
| commit | 7abc5766214917aec7073093271442c4a6a69eca (patch) | |
| tree | de42b79b27da6951b3c5386361e2dc410214a163 /test/src/gtest_master.cpp | |
| parent | bc7909e57bba412ff1f7f5d323f5c44c20486d3a (diff) | |
TSG-14946: 安全策略支持allow(deny)和monitor动作同时命中v6.0.13
Diffstat (limited to 'test/src/gtest_master.cpp')
| -rw-r--r-- | test/src/gtest_master.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/test/src/gtest_master.cpp b/test/src/gtest_master.cpp index 4795275..90febc9 100644 --- a/test/src/gtest_master.cpp +++ b/test/src/gtest_master.cpp @@ -552,11 +552,6 @@ TEST(TSGMaster, SecurityMultiplePolicyMonitorToIntercept) EXPECT_EQ(TSG_ACTION_MONITOR, matched_policy[2].action); EXPECT_EQ(TSG_ACTION_MONITOR, matched_policy[2].rule_id); - ret=session_matched_rules_copy(&a_stream, TSG_SERVICE_SECURITY, &(matched_policy[2]), 1); - EXPECT_EQ(1, ret); - EXPECT_EQ(TSG_ACTION_MONITOR, matched_policy[2].action); - EXPECT_EQ(TSG_ACTION_MONITOR, matched_policy[2].rule_id); - const struct matched_policy_rules *hited_security=session_matched_rules_get(&a_stream, TSG_SERVICE_SECURITY); EXPECT_NE(nullptr, hited_security); EXPECT_EQ(1, hited_security->n_rules); |
