summaryrefslogtreecommitdiff
path: root/testing/do-tests.in
diff options
context:
space:
mode:
authorRene Mayrhofer <rene@mayrhofer.eu.org>2008-02-08 18:04:42 +0000
committerRene Mayrhofer <rene@mayrhofer.eu.org>2008-02-08 18:04:42 +0000
commit73ac0ec24bdf4bf3d82850b80dba4905c3e4f884 (patch)
treef36bb7f5967d4aaeb6621860639df312c1dcad7c /testing/do-tests.in
parent61c73fef76f2fb057e3dde2fc4d32e933f22bc74 (diff)
downloadvyos-strongswan-73ac0ec24bdf4bf3d82850b80dba4905c3e4f884.tar.gz
vyos-strongswan-73ac0ec24bdf4bf3d82850b80dba4905c3e4f884.zip
- Updated to new upstream release.
- Updated ja.po.
Diffstat (limited to 'testing/do-tests.in')
-rwxr-xr-xtesting/do-tests.in13
1 files changed, 10 insertions, 3 deletions
diff --git a/testing/do-tests.in b/testing/do-tests.in
index 2b26d4517..7aadafd6a 100755
--- a/testing/do-tests.in
+++ b/testing/do-tests.in
@@ -14,7 +14,7 @@
# or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
# for more details.
#
-# RCSID $Id: do-tests.in 3273 2007-10-08 20:18:34Z andreas $
+# RCSID $Id: do-tests.in 3323 2007-11-07 12:22:44Z andreas $
DIR=`dirname $0`
@@ -233,6 +233,13 @@ do
@EOF
fi
+ if [ $SUBDIR = "ipv6" ]
+ then
+ IPTABLES="ip6tables"
+ else
+ IPTABLES="iptables"
+ fi
+
for name in $SUBTESTS
do
let "testnumber += 1"
@@ -464,7 +471,7 @@ do
ssh $HOSTLOGIN ip route list table $SOURCEIP_ROUTING_TABLE \
> $TESTRESULTDIR/${host}.iproute 2>/dev/null
- ssh $HOSTLOGIN iptables -v -n -L \
+ ssh $HOSTLOGIN $IPTABLES -v -n -L \
> $TESTRESULTDIR/${host}.iptables 2>/dev/null
cat >> $TESTRESULTDIR/index.html <<@EOF
<h3>$host</h3>
@@ -483,7 +490,7 @@ do
<li><a href="$host.auth.log">auth.log</a></li>
<li><a href="$host.daemon.log">daemon.log</a></li>
<li><a href="$host.iproute">ip route list table $SOURCEIP_ROUTING_TABLE</a></li>
- <li><a href="$host.iptables">iptables -L</a></li>
+ <li><a href="$host.iptables">$IPTABLES -L</a></li>
</ul>
</td>
</tr>