diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-02-16 20:52:04 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2017-02-16 20:52:04 +0100 |
commit | 414d819ebee11b52374f566434220887eb8246b7 (patch) | |
tree | 23d872397aee6468aa6c2946b5807617976558f8 /tests/iphash.t | |
parent | 728fed0f689c76cb5cd77499b022764e93d91932 (diff) |
New test to verify that only the intended entries are deleted at hash types.
Diffstat (limited to 'tests/iphash.t')
-rw-r--r-- | tests/iphash.t | 2 |
1 files changed, 2 insertions, 0 deletions
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 |