From f491899e87ae0d35a05c266a6a6c3d13d369a177 Mon Sep 17 00:00:00 2001 From: Jozsef Kadlecsik Date: Fri, 27 May 2011 20:54:01 +0200 Subject: [PATCH] hash:net test may seem to fail due to the too wide grep pattern, fix it --- tests/hash:net.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.40.0