summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorZheng Chao <[email protected]>2024-07-01 14:48:29 +0800
committerZheng Chao <[email protected]>2024-07-01 14:48:29 +0800
commit2d77b9c88d951171354c398cb363c04f4e782f91 (patch)
treedd75fa6b40f2cf901e4706a3ea6780acfe9f8969 /test
parente5f45366c0f21de233108f8bd945b1d527879e8d (diff)
When removing group from a clause, and the clause is empty, the clause id should be cleared.v4.1.39
Diffstat (limited to 'test')
-rw-r--r--test/maat_framework_gtest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/maat_framework_gtest.cpp b/test/maat_framework_gtest.cpp
index 92669ae..7a9ee88 100644
--- a/test/maat_framework_gtest.cpp
+++ b/test/maat_framework_gtest.cpp
@@ -3124,6 +3124,7 @@ TEST_F(IPScan, RuleUpdates) {
}
TEST_F(IPScan, RuleChangeClauseId) {
+ //This test is a reproduce of bug OMPUB-1343.
const char *src_table_name = "VIRTUAL_IP_PLUS_SOURCE";
const char *dst_table_name = "VIRTUAL_IP_PLUS_DESTINATION";
const char *phy_ip_table_name = "IP_PLUS_CONFIG";