diff --git a/src/tests/regression/gh567.at b/src/tests/regression/gh567.at index 03c3bde4a..7faa9a5b0 100644 --- a/src/tests/regression/gh567.at +++ b/src/tests/regression/gh567.at @@ -1,5 +1,6 @@ FWD_START_TEST([rich rule source w/ mark action]) AT_KEYWORDS(gh567 rich ipset) +CHECK_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"]) diff --git a/src/tests/regression/rhbz1779835.at b/src/tests/regression/rhbz1779835.at index 8de5c0353..1c6738bce 100644 --- a/src/tests/regression/rhbz1779835.at +++ b/src/tests/regression/rhbz1779835.at @@ -1,5 +1,6 @@ FWD_START_TEST([ipv6 address with brackets]) -AT_KEYWORDS(rhbz1779835 ipset zone forward_port rich) +AT_KEYWORDS(rhbz1779835 ipset) +CHECK_IPSET IF_HOST_SUPPORTS_IPV6_RULES([], [AT_SKIP_IF([:])]) @@ -10,6 +11,13 @@ FWD_CHECK([-q --permanent --new-ipset=foobar2 --type=hash:net --family=inet6]) FWD_CHECK([[-q --permanent --ipset foobar2 --add-entry='[1234::]/64']]) FWD_RELOAD +FWD_END_TEST + +FWD_START_TEST([ipv6 address with brackets]) +AT_KEYWORDS(rhbz1779835 zone forward_port rich) + +IF_HOST_SUPPORTS_IPV6_RULES([], [AT_SKIP_IF([:])]) + dnl zone source FWD_CHECK([[-q --zone internal --add-source='[::1234]']]) FWD_CHECK([[-q --zone internal --add-source='[1234::]/64']])