From e8a95271dc8598261957f9ed5472dfb9065bdd9e Mon Sep 17 00:00:00 2001 From: Florian Westphal Date: Thu, 19 Feb 2015 02:23:19 +0100 Subject: extensions: add more test cases for iptables-test.py Instead of using iptables-save-formatted files in the tests/ dir, lets use the iptables-test.py framework for all matches/targets. This obsoletes tests/ completely, will be removed in followup patch. Suggested-by: Pablo Neira Ayuso Signed-off-by: Florian Westphal --- extensions/libip6t_hl.t | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 extensions/libip6t_hl.t (limited to 'extensions/libip6t_hl.t') diff --git a/extensions/libip6t_hl.t b/extensions/libip6t_hl.t new file mode 100644 index 00000000..b02816af --- /dev/null +++ b/extensions/libip6t_hl.t @@ -0,0 +1,8 @@ +:INPUT,FORWARD,OUTPUT +-m hl;;FAIL +-m hl --hl-eq 42;=;OK +-m hl ! --hl-eq 42;=;OK +-m hl --hl-lt 42;=;OK +-m hl --hl-gt 42;=;OK +-m hl --hl-gt 42 --hl-eq 42;;FAIL +-m hl --hl-gt;;FAIL -- cgit v1.2.3