From: Andreas Steffen Date: Wed, 7 Nov 2007 12:22:44 +0000 (-0000) Subject: do-tests script applies ip6tables in ipv6 subdir X-Git-Tag: 4.1.9~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=141d0506fad8d28fe390314903e5dde787f38234;p=thirdparty%2Fstrongswan.git do-tests script applies ip6tables in ipv6 subdir --- diff --git a/testing/do-tests.in b/testing/do-tests.in index 2cee2d4acf..c83fc1d216 100755 --- a/testing/do-tests.in +++ b/testing/do-tests.in @@ -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

$host

@@ -483,7 +490,7 @@ do
  • auth.log
  • daemon.log
  • ip route list table $SOURCEIP_ROUTING_TABLE
  • -
  • iptables -L
  • +
  • $IPTABLES -L