|
|
40251c |
From ff7fed03e2026b0f3e2959bcb4b71c57b48b33a4 Mon Sep 17 00:00:00 2001
|
|
|
40251c |
From: Eric Garver <eric@garver.life>
|
|
|
40251c |
Date: Wed, 15 Jan 2020 10:04:47 -0500
|
|
|
40251c |
Subject: [PATCH 21/37] test: coverage for gh #567
|
|
|
40251c |
|
|
|
40251c |
(cherry picked from commit cdf3227ea9e1c14ca47fcd73c42b3c94f78b01a6)
|
|
|
40251c |
(cherry picked from commit 846363e2ced0b5ec0eecd58574245a4f7a66235c)
|
|
|
40251c |
---
|
|
|
40251c |
src/tests/regression.at | 1 +
|
|
|
40251c |
src/tests/regression/gh567.at | 8 ++++++++
|
|
|
40251c |
2 files changed, 9 insertions(+)
|
|
|
40251c |
create mode 100644 src/tests/regression/gh567.at
|
|
|
40251c |
|
|
|
40251c |
diff --git a/src/tests/regression.at b/src/tests/regression.at
|
|
|
40251c |
index 3bc99543a9b1..4532d730fbe7 100644
|
|
|
40251c |
--- a/src/tests/regression.at
|
|
|
40251c |
+++ b/src/tests/regression.at
|
|
|
40251c |
@@ -24,3 +24,4 @@ m4_include([regression/rhbz1715977.at])
|
|
|
40251c |
m4_include([regression/rhbz1723610.at])
|
|
|
40251c |
m4_include([regression/rhbz1734765.at])
|
|
|
40251c |
m4_include([regression/gh509.at])
|
|
|
40251c |
+m4_include([regression/gh567.at])
|
|
|
40251c |
diff --git a/src/tests/regression/gh567.at b/src/tests/regression/gh567.at
|
|
|
40251c |
new file mode 100644
|
|
|
40251c |
index 000000000000..03c3bde4a0fe
|
|
|
40251c |
--- /dev/null
|
|
|
40251c |
+++ b/src/tests/regression/gh567.at
|
|
|
40251c |
@@ -0,0 +1,8 @@
|
|
|
40251c |
+FWD_START_TEST([rich rule source w/ mark action])
|
|
|
40251c |
+AT_KEYWORDS(gh567 rich ipset)
|
|
|
40251c |
+
|
|
|
40251c |
+FWD_CHECK([-q --permanent --new-ipset=Teste --type=hash:net])
|
|
|
40251c |
+FWD_CHECK([-q --permanent --add-rich-rule "rule family=ipv4 source ipset=Teste mark set=2"])
|
|
|
40251c |
+FWD_RELOAD
|
|
|
40251c |
+
|
|
|
40251c |
+FWD_END_TEST
|
|
|
40251c |
--
|
|
|
40251c |
2.23.0
|
|
|
40251c |
|