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