diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-08-24 17:12:23 +0200 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2015-08-24 17:25:54 +0200 |
commit | 30889fdb22502d8dbf78094f2aec37a2f3c72879 (patch) | |
tree | 31531029e76e592227dfec077cf50fced234eed9 /tests/resize-and-list.sh | |
parent | e94e514d21d7c082475ea9ced779cddba5d413c3 (diff) |
Use IPSET_BIN in resize-and-list.sh and suppress echoing of loop variable
Diffstat (limited to 'tests/resize-and-list.sh')
-rwxr-xr-x | tests/resize-and-list.sh | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/resize-and-list.sh b/tests/resize-and-list.sh index 209408a..d6fab7b 100755 --- a/tests/resize-and-list.sh +++ b/tests/resize-and-list.sh @@ -1,11 +1,10 @@ #!/bin/sh ./resize.sh & +ipset=${IPSET_BIN:-../src/ipset} n=0 while [ $n -ne 8161 ]; do - echo $n - n=`ipset -S resize-test | wc -l` + # echo $n + n=`$ipset -S resize-test | wc -l` done -ipset x - -
\ No newline at end of file +$ipset x |