From bacee4529c3fdd43a02ee96e636a04c2e81d4565 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Mon, 23 May 2011 11:32:54 +0200 Subject: hash:net stress test in range notation added --- tests/hash:net.t | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/hash:net.t') diff --git a/tests/hash:net.t b/tests/hash:net.t index 8ccc3f2..9f99ef8 100644 --- a/tests/hash:net.t +++ b/tests/hash:net.t @@ -56,4 +56,10 @@ 0 diff -u -I 'Size in memory.*' .foo hash:net.t.list2 # Delete test set 0 ipset destroy test +# Stress test with range notation +0 ./netgen.sh | ipset restore +# List set and check the number of elements +0 n=`ipset -L test|grep '10.'|wc -l` && test $n -eq 43520 +# Delete test set +0 ipset destroy test # eof -- cgit v1.2.3