From: Jan Engelhardt Date: Sun, 21 Aug 2011 10:46:08 +0000 (+0200) Subject: tests: add negation tests for libxt_statistic X-Git-Tag: v1.4.12.1~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e42bda9330afe717561c47a02a3f58c8ee1a246;p=thirdparty%2Fiptables.git 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 --- 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