diff options
Diffstat (limited to 'tests/portmap.t')
-rw-r--r-- | tests/portmap.t | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/portmap.t b/tests/portmap.t index 989a83b..084d68c 100644 --- a/tests/portmap.t +++ b/tests/portmap.t @@ -80,6 +80,14 @@ # 0 diff -I 'Size in memory.*' .foo portmap.t.list2 && rm .foo # Full: Flush test set 0 ipset -F test +# Full: add element with 1s timeout +0 ipset add test 567 timeout 1 +# Full: readd element with 3s timeout +0 ipset add test 567 timeout 3 -exist +# Full: sleep 2s +0 sleep 2s +# Full: check readded element +0 ipset test test 567 # Full: Delete test set 0 ipset -X test # eof |