From 7e42bda9330afe717561c47a02a3f58c8ee1a246 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Sun, 21 Aug 2011 12:46:08 +0200 Subject: tests: add negation tests for libxt_statistic Note: it is valid to check cb->invert before calling xtables_option_parse. Signed-off-by: Jan Engelhardt --- tests/options-most.rules | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/options-most.rules b/tests/options-most.rules index c2436499..0e876e65 100644 --- a/tests/options-most.rules +++ b/tests/options-most.rules @@ -123,6 +123,10 @@ -A matches -A matches -p tcp -m tcpmss --mss 5:65535 -A matches +-A matches -m statistic --mode random ! --probability 0.4 +-A matches +-A matches -m statistic --mode nth ! --every 5 --packet 2 +-A matches -A matches -m time --timestart 01:02:03 --timestop 04:05:06 --monthdays 1,2,3,4,5 --weekdays Mon,Fri,Sun --datestart 2001-02-03T04:05:06 --datestop 2012-09-08T09:06:05 --localtz -A matches -A matches -m time --timestart 01:02:03 --timestop 04:05:06 --monthdays 1,2,3,4,5 --weekdays Mon,Fri,Sun --datestart 2001-02-03T04:05:06 --datestop 2012-09-08T09:06:05 --kerneltz -- cgit v1.2.3