summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-03-16 09:01:56 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2016-03-16 09:01:56 +0100
commite2b58fe3c45933957ec38161fc255a0f88333d14 (patch)
tree8c9233c10c694649fe47c606f81129ab7d873b7a /tests
parent00616d03d00e75ec1d4718807273b2353529f2cc (diff)
Suppress unnecessary stderr in command loop for resize and list
Diffstat (limited to 'tests')
-rwxr-xr-xtests/resize-and-list.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/resize-and-list.sh b/tests/resize-and-list.sh
index d6fab7b..78d521c 100755
--- a/tests/resize-and-list.sh
+++ b/tests/resize-and-list.sh
@@ -5,6 +5,6 @@ ipset=${IPSET_BIN:-../src/ipset}
n=0
while [ $n -ne 8161 ]; do
# echo $n
- n=`$ipset -S resize-test | wc -l`
+ n=`$ipset -S resize-test 2>/dev/null| wc -l`
done
$ipset x