]> git.ipfire.org Git - thirdparty/iptables.git/commitdiff
extensions/libxt_recent.t: add test case for 3.19 regression
authorFlorian Westphal <fw@strlen.de>
Thu, 19 Feb 2015 11:24:31 +0000 (12:24 +0100)
committerFlorian Westphal <fw@strlen.de>
Thu, 19 Feb 2015 16:44:06 +0000 (17:44 +0100)
fail with vanilla 3.19.

Signed-off-by: Florian Westphal <fw@strlen.de>
extensions/libxt_recent.t

index cb4049f5b071e0fdfc1cbdcaeb72b38be46a80a9..9a83918ea583581ab6db4ba44a929da6e7bba2b9 100644 (file)
@@ -3,5 +3,9 @@
 -m recent --rcheck --hitcount 8 --name foo --mask 255.255.255.255 --rsource;=;OK
 -m recent --rcheck --hitcount 12 --name foo --mask 255.255.255.255 --rsource;=;OK
 -m recent --update --rttl;=;OK
--m recent --set --rttl;=;FAIL
--m recent --rcheck --hitcount 999 --name foo --mask 255.255.255.255 --rsource;=;FAIL
+-m recent --set --rttl;;FAIL
+-m recent --rcheck --hitcount 999 --name foo --mask 255.255.255.255 --rsource;;FAIL
+# nonsensical, but all should load successfully:
+-m recent --rcheck --hitcount 3 --name foo --mask 255.255.255.255 --rsource -m recent --rcheck --hitcount 4 --name foo --mask 255.255.255.255 --rsource;=;OK
+-m recent --rcheck --hitcount 4 --name foo --mask 255.255.255.255 --rsource -m recent --rcheck --hitcount 4 --name foo --mask 255.255.255.255 --rsource;=;OK
+-m recent --rcheck --hitcount 8 --name foo --mask 255.255.255.255 --rsource -m recent --rcheck --hitcount 12 --name foo --mask 255.255.255.255 --rsource;=;OK