From 414d819ebee11b52374f566434220887eb8246b7 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Thu, 16 Feb 2017 20:52:04 +0100 Subject: New test to verify that only the intended entries are deleted at hash types. --- tests/iphash.t | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests/iphash.t') diff --git a/tests/iphash.t b/tests/iphash.t index f7fdab3..2f7efa5 100644 --- a/tests/iphash.t +++ b/tests/iphash.t @@ -50,6 +50,8 @@ 0 ipset save test | sort > .foo.1 # IP: Compare save and restore 0 (sort iphash.t.large > .foo.2) && (cmp .foo.1 .foo.2) +# IP: Delete all elements, one by one +0 ipset list test | sed '1,/Members/d' | xargs -n1 ipset del test # IP: Delete test set 0 ipset x test # Network: Create a set -- cgit v1.2.3