summaryrefslogtreecommitdiff
path: root/tests/runtest.sh
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2017-02-16 20:52:04 +0100
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2017-02-16 20:52:04 +0100
commit414d819ebee11b52374f566434220887eb8246b7 (patch)
tree23d872397aee6468aa6c2946b5807617976558f8 /tests/runtest.sh
parent728fed0f689c76cb5cd77499b022764e93d91932 (diff)
downloadipset-414d819ebee11b52374f566434220887eb8246b7.tar.gz
New test to verify that only the intended entries are deleted at hash types.
Diffstat (limited to 'tests/runtest.sh')
-rwxr-xr-xtests/runtest.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/runtest.sh b/tests/runtest.sh
index 6f5a250..186f11d 100755
--- a/tests/runtest.sh
+++ b/tests/runtest.sh
@@ -95,6 +95,8 @@ for types in $tests; do
esac
echo -ne "$types: $what: "
cmd=`echo $cmd | sed "s|ipset|$ipset 2>.foo.err|"`
+ # For the case: ipset list | ... | xargs -n1 ipset
+ cmd=`echo $cmd | sed "s|ipset|$ipset|"`
eval $cmd
r=$?
# echo $ret $r