aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xtesting/do-tests.in9
1 files changed, 1 insertions, 8 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in
index 54407f2cc..f6ff19fca 100755
--- a/testing/do-tests.in
+++ b/testing/do-tests.in
@@ -233,13 +233,6 @@ do
@EOF
fi
- if [ $SUBDIR = "ipv6" ]
- then
- IPTABLES="ip6tables"
- else
- IPTABLES="iptables"
- fi
-
for name in $SUBTESTS
do
let "testnumber += 1"
@@ -252,7 +245,7 @@ do
continue
fi
- if [ $name = "rw-psk-ipv6" ]
+ if [ $SUBDIR = "ipv6" -o $name = "rw-psk-ipv6" ]
then
IPTABLES="ip6tables"
else