path: root/extensions/libxt_recent.t
diff options
authorFlorian Westphal <>2015-02-19 12:24:31 +0100
committerFlorian Westphal <>2015-02-19 17:44:06 +0100
commit8090dbc39f20dcc937c3c13d9131500655196cf0 (patch)
treebdeeb0cff26de96f900534a5b2bc8161867dd2ef /extensions/libxt_recent.t
parent2192c3a37a6470d353def75fb9c7c6593c3b9aec (diff)
extensions/libxt_recent.t: add test case for 3.19 regression
fail with vanilla 3.19. Signed-off-by: Florian Westphal <>
Diffstat (limited to 'extensions/libxt_recent.t')
1 files changed, 6 insertions, 2 deletions
diff --git a/extensions/libxt_recent.t b/extensions/libxt_recent.t
index cb4049f5..9a83918e 100644
--- a/extensions/libxt_recent.t
+++ b/extensions/libxt_recent.t
@@ -3,5 +3,9 @@
-m recent --rcheck --hitcount 8 --name foo --mask --rsource;=;OK
-m recent --rcheck --hitcount 12 --name foo --mask --rsource;=;OK
-m recent --update --rttl;=;OK
--m recent --set --rttl;=;FAIL
--m recent --rcheck --hitcount 999 --name foo --mask --rsource;=;FAIL
+-m recent --set --rttl;;FAIL
+-m recent --rcheck --hitcount 999 --name foo --mask --rsource;;FAIL
+# nonsensical, but all should load successfully:
+-m recent --rcheck --hitcount 3 --name foo --mask --rsource -m recent --rcheck --hitcount 4 --name foo --mask --rsource;=;OK
+-m recent --rcheck --hitcount 4 --name foo --mask --rsource -m recent --rcheck --hitcount 4 --name foo --mask --rsource;=;OK
+-m recent --rcheck --hitcount 8 --name foo --mask --rsource -m recent --rcheck --hitcount 12 --name foo --mask --rsource;=;OK