summaryrefslogtreecommitdiffstats
path: root/tests/resize.sh
blob: 008c60757c211fdf5bf45528b6c93f3851eac68a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

../src/ipset x resize-test 2>/dev/null

set -e

../src/ipset n resize-test hash:ip hashsize 64
for x in `seq 1 32`; do
   for y in `seq 1 255`; do
      ../src/ipset a resize-test 192.168.$x.$y
   done
done