summaryrefslogtreecommitdiffstats
path: root/tests/runtest.sh
diff options
context:
space:
mode:
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