summaryrefslogtreecommitdiffstats
path: root/tests/iptables.sh
diff options
context:
space:
mode:
authorJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-04-10 16:22:46 +0200
committerJozsef Kadlecsik <kadlec@blackhole.kfki.hu>2011-04-10 16:22:46 +0200
commit073915c8607f0ca74b29d4159488cc96abf97684 (patch)
treef08908b550cbe4642997ce671aa7297c52ad8323 /tests/iptables.sh
parent1e4221aa032195b328e7cecf67875fa39b69e1ee (diff)
Testsuite checks added
- check iptables match/target extensions with invalid number of dir parameters - check SET target with --del-set option
Diffstat (limited to 'tests/iptables.sh')
-rwxr-xr-xtests/iptables.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/iptables.sh b/tests/iptables.sh
index 1bf96df..b5b82e4 100755
--- a/tests/iptables.sh
+++ b/tests/iptables.sh
@@ -60,6 +60,10 @@ start)
$cmd -A OUTPUT -d $NET -j DROP
cat /dev/null > .foo.err
;;
+del)
+ $cmd -F INPUT
+ $cmd -A INPUT -j SET --del-set ipport src,src
+ ;;
stop)
$cmd -F
$cmd -X