summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-05-27 20:54:01 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-05-27 20:54:01 +0200
commitf491899e87ae0d35a05c266a6a6c3d13d369a177 (patch)
treed116375c5c0eaa94cd80643d28bff6f21d5963de /tests
parent6cdb362a88ebaf2bacd8ceac92f407b3d838203a (diff)
hash:net test may seem to fail due to the too wide grep pattern, fix it
Diffstat (limited to 'tests')
-rw-r--r--tests/hash:net.t2
1 files changed, 1 insertions, 1 deletions
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