From: Jozsef Kadlecsik Date: Fri, 27 May 2011 18:54:01 +0000 (+0200) Subject: hash:net test may seem to fail due to the too wide grep pattern, fix it X-Git-Tag: v6.7~8 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f491899e87ae0d35a05c266a6a6c3d13d369a177;p=ipset hash:net test may seem to fail due to the too wide grep pattern, fix it --- diff --git a/tests/hash:net.t b/tests/hash:net.t index 9f99ef8..e51186f 100644 --- a/tests/hash:net.t +++ b/tests/hash:net.t @@ -59,7 +59,7 @@ # 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 +0 n=`ipset -L test|grep '^10.'|wc -l` && test $n -eq 43520 # Delete test set 0 ipset destroy test # eof